From b51f1027d0e7917286e84de669362e4e870072d4 Mon Sep 17 00:00:00 2001 From: modship Date: Wed, 14 Aug 2024 13:56:18 +0200 Subject: [PATCH] fix loop on getUserEntryList --- frontend/src/components/MNSManagement.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/MNSManagement.tsx b/frontend/src/components/MNSManagement.tsx index 107971f..9039e75 100644 --- a/frontend/src/components/MNSManagement.tsx +++ b/frontend/src/components/MNSManagement.tsx @@ -27,7 +27,7 @@ export function MNSManagement(props: MNSManagementProps) { useEffect(() => { if (!connectedAccount || !massaClient || listSpinning) return; getUserEntryList({ address: connectedAccount.address() }); - }, [connectedAccount, massaClient, listSpinning, getUserEntryList]); + }, [connectedAccount, massaClient]); return (
{!connected ? (