From 67e7b09a3cb4fc294f6c43772aac7e2e31649d15 Mon Sep 17 00:00:00 2001 From: jinchung Date: Thu, 17 Oct 2024 11:56:59 -0400 Subject: [PATCH] Fix: init useConnectedToHardhatStore --- src/components/toasts/OfflineToast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/toasts/OfflineToast.js b/src/components/toasts/OfflineToast.js index 5604b3bfec6..b86c3904823 100644 --- a/src/components/toasts/OfflineToast.js +++ b/src/components/toasts/OfflineToast.js @@ -8,7 +8,7 @@ import { useConnectedToHardhatStore } from '@/state/connectedToHardhat'; const OfflineToast = () => { const isConnected = useInternetStatus(); const { chainId } = useAccountSettings(); - const { connectedToHardhat } = useConnectedToHardhatStore; + const { connectedToHardhat } = useConnectedToHardhatStore(); const isMainnet = chainId === ChainId.mainnet && !connectedToHardhat; return ; };