From 0084a428f6c3ae5080a83a0696a6a755cee4481d Mon Sep 17 00:00:00 2001 From: noctera Date: Sun, 18 Dec 2022 12:18:56 +0100 Subject: [PATCH] fix: disable exhaustive-deps --- src/Forms/ImportPreviewForm/GroupPreview/GroupPreview.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Forms/ImportPreviewForm/GroupPreview/GroupPreview.jsx b/src/Forms/ImportPreviewForm/GroupPreview/GroupPreview.jsx index f3a0a5a2..d62a0c4b 100644 --- a/src/Forms/ImportPreviewForm/GroupPreview/GroupPreview.jsx +++ b/src/Forms/ImportPreviewForm/GroupPreview/GroupPreview.jsx @@ -62,7 +62,8 @@ const GroupPreview = ({ useEffect(() => { fetchPackages(); - }, [fetchPackages]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); const packageAdded = useCallback( (newPackage) => {