feat: add loading component for /apps main page (#20924)
This commit is contained in:
1 parent
396ccb1cd2
commit
91ab27e070
4 files changed
+111
-2
No files matched your search
@@ -19,7 +19,6 @@ export default function AppsLayout({ children, actions, emptyStore, ...rest }: A
|
||||
const router = useRouter();
|
||||
const isAdmin = session.data?.user.role === "ADMIN";
|
||||
|
||||
if (session.status === "loading") return <></>;
|
||||
return (
|
||||
<Shell {...rest} actions={actions?.("block")}>
|
||||
<div className="flex flex-col xl:flex-row">
|
||||
|
||||
Reference in new issue
Block a user