diff --git a/src/hooks/DAO/useDAOController.ts b/src/hooks/DAO/useDAOController.ts index 649bb2c6a1..f769dc91c1 100644 --- a/src/hooks/DAO/useDAOController.ts +++ b/src/hooks/DAO/useDAOController.ts @@ -24,7 +24,7 @@ export default function useDAOController() { if (daoAddress && !currentDAOAddress.current) { action.resetDAO().then(() => { currentDAOAddress.current = daoAddress; - }) + }); } if (!daoAddress || daoAddress !== currentDAOAddress.current) { currentDAOAddress.current = undefined;