From d5f72f82960b95b4c66b1db4b530a86f943f29ba Mon Sep 17 00:00:00 2001 From: Julian Kobrynski Date: Tue, 7 Nov 2023 14:21:06 +0100 Subject: [PATCH] remove object from dependency array --- src/hooks/usePrivatePersonalDetails.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/usePrivatePersonalDetails.ts b/src/hooks/usePrivatePersonalDetails.ts index 304708a5c0b3..89d9951cef11 100644 --- a/src/hooks/usePrivatePersonalDetails.ts +++ b/src/hooks/usePrivatePersonalDetails.ts @@ -16,5 +16,5 @@ export default function usePrivatePersonalDetails() { } PersonalDetails.openPersonalDetailsPage(); - }, [network]); + }, [network?.isOffline]); }