Commit bfd231ac authored by crazywoola's avatar crazywoola

fix: loading in explore

parent 4fb0f4e0
......@@ -32,7 +32,6 @@ const Apps: FC = () => {
})
const {
data: { categories, allList },
isLoading,
} = useSWR(
['/explore/apps'],
() =>
......@@ -90,7 +89,7 @@ const Apps: FC = () => {
}
}
if (!isLoading) {
if (!categories) {
return (
<div className="flex h-full items-center">
<Loading type="area" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment