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;
infoPanelVisible?: boolean;
countTilesInRow?: number;
isIndexEditingMode: boolean;
}
export interface ListComponentProps extends InfiniteLoaderProps {

View File

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