Shared: delete old code

This commit is contained in:
Dmitry Sychugov 2024-06-24 15:20:44 +05:00
parent efbeb95641
commit ef264c7755
2 changed files with 0 additions and 9 deletions

View File

@ -42,7 +42,6 @@ export interface InfiniteLoaderProps {
className?: string; className?: string;
infoPanelVisible?: boolean; infoPanelVisible?: boolean;
countTilesInRow?: number; countTilesInRow?: number;
isIndexEditingMode: boolean;
} }
export interface ListComponentProps extends InfiniteLoaderProps { export interface ListComponentProps extends InfiniteLoaderProps {

View File

@ -47,7 +47,6 @@ const ListComponent = ({
className, className,
scroll, scroll,
infoPanelVisible, infoPanelVisible,
isIndexEditingMode,
}: ListComponentProps) => { }: ListComponentProps) => {
const loaderRef = useRef<InfiniteLoader | null>(null); const loaderRef = useRef<InfiniteLoader | null>(null);
const listRef = useRef<List | null>(null); const listRef = useRef<List | null>(null);
@ -122,13 +121,6 @@ const ListComponent = ({
? localStorage.getItem(columnInfoPanelStorageName) ? localStorage.getItem(columnInfoPanelStorageName)
: localStorage.getItem(columnStorageName); : localStorage.getItem(columnStorageName);
let indexEditingColumn;
if (isIndexEditingMode && storageSize) {
const storage = storageSize?.split(" ");
indexEditingColumn = storage?.splice(0, storage.length - 2);
}
const isLoaded = isItemLoaded({ index }); const isLoaded = isItemLoaded({ index });
if (!isLoaded) return getLoader(style, key); if (!isLoaded) return getLoader(style, key);