Skip to content

Commit 2a5621b

Browse files
committed
fix: tag detail modal loading
Signed-off-by: Innei <i@innei.in>
1 parent 434efee commit 2a5621b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/modules/post/fab/PostTagsFAB.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ export const TagDetailModal = (props: { name: string }) => {
8383
meta: {},
8484
})
8585
const { dismissAll } = useModalStack()
86-
if (isLoading) return <div className="h-30 loading-dots flex w-full center" />
86+
if (isLoading)
87+
return (
88+
<div className="center flex h-24 w-full">
89+
<div className="loading loading-dots loading-md" />
90+
</div>
91+
)
8792

8893
if (!data) return <EmptyIcon />
8994

0 commit comments

Comments
 (0)