Skip to content

Commit

Permalink
proposals: the currentStorage is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilou97 committed Apr 9, 2024
1 parent bfaef9c commit 6c0b791
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/[walletAddress]/proposals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ const Proposals = () => {
Invalid contract address: {currentContract}
</p>
</div>
) : state.isLoading || !walletTokens ? (
) : state.isLoading ||
!walletTokens ||
!globalState.currentStorage ? (
<div className="mt-8 flex justify-center">
<Spinner />
</div>
Expand Down

0 comments on commit 6c0b791

Please sign in to comment.