Shared: delete old code
This commit is contained in:
parent
efbeb95641
commit
ef264c7755
@ -42,7 +42,6 @@ export interface InfiniteLoaderProps {
|
||||
className?: string;
|
||||
infoPanelVisible?: boolean;
|
||||
countTilesInRow?: number;
|
||||
isIndexEditingMode: boolean;
|
||||
}
|
||||
|
||||
export interface ListComponentProps extends InfiniteLoaderProps {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user