From f6e08e75c3cf87231278d507a3a1c1f9b675d42a Mon Sep 17 00:00:00 2001 From: Nur Fikri Date: Tue, 24 Dec 2024 00:29:03 +0700 Subject: [PATCH] fix eslint hook deps --- packages/widget/src/components/RenderWalletList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/widget/src/components/RenderWalletList.tsx b/packages/widget/src/components/RenderWalletList.tsx index f71d90e5..1ad05752 100644 --- a/packages/widget/src/components/RenderWalletList.tsx +++ b/packages/widget/src/components/RenderWalletList.tsx @@ -167,7 +167,7 @@ export const RenderWalletList = ({ const height = useMemo(() => { return Math.min(530, displayWallets.length * (ITEM_HEIGHT + ITEM_GAP)); - }, [walletList, displayWallets.length]); + }, [displayWallets.length]); const renderWalletListOrWalletConnectionStatus = useMemo(() => { @@ -230,6 +230,7 @@ export const RenderWalletList = ({ renderItem, theme.primary.text.lowContrast, theme.primary.text.normal, + displayWallets, ]); return (