From 7cfe2fc32cec6c1b1fd5032304f35e29bfffe25f Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Wed, 26 May 2021 23:39:10 +0530 Subject: [PATCH] random comment --- src/pages/gallery/components/PreviewCard.tsx | 1 + 1 file changed, 1 insertion(+) 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]);