Skip to content

Commit

Permalink
fix large loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Mar 15, 2024
1 parent 357870a commit 777eb00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/daos/[daoAddress]/proposals/[proposalId]/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Box } from '@chakra-ui/react';
import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useParams } from 'react-router-dom';
Expand Down Expand Up @@ -67,7 +68,9 @@ export default function ProposalDetailsPage() {
]}
/>
{proposal === undefined ? (
<InfoBoxLoader />
<Box>
<InfoBoxLoader />
</Box>
) : proposal === null ? (
<EmptyBox emptyText={t('noProposal')} />
) : isSnapshotProposal ? (
Expand Down

0 comments on commit 777eb00

Please sign in to comment.