From 11c3091269b99b3848a50bfa20df82e2670370fa Mon Sep 17 00:00:00 2001 From: gofnnp Date: Tue, 16 Apr 2024 23:51:28 +0400 Subject: [PATCH] fix ShortPathOutlet --- src/components/App/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 8b23436..ecb9088 100755 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -989,8 +989,7 @@ function ShortPathOutlet(props: IShortPathOutletProps): JSX.Element { error: "Something went wrong", }; } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [token, user?.email]); + }, [api, productKey, token, user?.email]); const { data, isPending } = useApiCall(loadData);