diff --git a/src/components/editors/ImageGrid/index.tsx b/src/components/editors/ImageGrid/index.tsx index 2310acd3..2c976763 100644 --- a/src/components/editors/ImageGrid/index.tsx +++ b/src/components/editors/ImageGrid/index.tsx @@ -17,11 +17,11 @@ interface IProps { locked: IUploadStatus[]; } -const SortableItem = SortableElement(({ children }) => ( +const SortableImageGridItem = SortableElement(({ children }) => (
{children}
)); -const SortableList = SortableContainer( +const SortableImageGrid = SortableContainer( ({ items, locked, @@ -35,15 +35,15 @@ const SortableList = SortableContainer( {items .filter(file => file && file.id) .map((file, index) => ( - + - + ))} {locked.map((item, index) => ( - + - + ))} ) @@ -67,7 +67,7 @@ const ImageGrid: FC = ({ data, setData, locked }) => { ); return ( -