Skip to content

Commit

Permalink
fix: tag detail modal loading
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jun 25, 2024
1 parent 434efee commit 2a5621b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/modules/post/fab/PostTagsFAB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ export const TagDetailModal = (props: { name: string }) => {
meta: {},
})
const { dismissAll } = useModalStack()
if (isLoading) return <div className="h-30 loading-dots flex w-full center" />
if (isLoading)
return (
<div className="center flex h-24 w-full">
<div className="loading loading-dots loading-md" />
</div>
)

if (!data) return <EmptyIcon />

Expand Down

0 comments on commit 2a5621b

Please sign in to comment.