diff --git a/src/hooks/utils/useCanUserSubmitProposal.ts b/src/hooks/utils/useCanUserSubmitProposal.ts index e3b0d1aebc..132aa0b6b9 100644 --- a/src/hooks/utils/useCanUserSubmitProposal.ts +++ b/src/hooks/utils/useCanUserSubmitProposal.ts @@ -96,10 +96,8 @@ export function useCanUserCreateProposal() { const loadCanUserCreateProposal = async () => { setCanUserCreateProposal(await getCanUserCreateProposal()); }; - if (canUserCreateProposal === undefined) { - loadCanUserCreateProposal(); - } - }, [getCanUserCreateProposal, canUserCreateProposal, user]); + loadCanUserCreateProposal(); + }, [getCanUserCreateProposal, canUserCreateProposal]); return { canUserCreateProposal, getCanUserCreateProposal }; }