Skip to content

Commit

Permalink
chore: clean up spinner further
Browse files Browse the repository at this point in the history
  • Loading branch information
thekidnamedkd committed Nov 6, 2024
1 parent c47eda3 commit b1e2d47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/containers/daoExplorer/daoExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,10 @@ export const DaoExplorer = () => {
/>
) : (
<>
{(isLoading || isLoadingFeaturedDaos) && (
<div className="flex h-72 w-full items-center justify-center">
{((filters.quickFilter !== 'featuredDaos' && isLoading) ||
(filters.quickFilter === 'featuredDaos' &&
isLoadingFeaturedDaos)) && (
<div className="flex h-40 w-full grow items-center justify-center md:h-72">
<Spinner size="xl" variant="primary" />
</div>
)}
Expand Down

0 comments on commit b1e2d47

Please sign in to comment.