diff --git a/src/pages/gallery/components/PreviewCard.tsx b/src/pages/gallery/components/PreviewCard.tsx index 869b71025..3a66f168c 100644 --- a/src/pages/gallery/components/PreviewCard.tsx +++ b/src/pages/gallery/components/PreviewCard.tsx @@ -127,6 +127,7 @@ export default function PreviewCard(props: IProps) { main(); } return () => { + // cool cool cool isMounted.current = false; }; }, [file]);