Skip to content

Commit

Permalink
stricter meta handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Dec 20, 2024
1 parent efb36a3 commit f5610a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/admin-ui/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function InternalKeystoneProvider ({
}, [])

// TODO
if (!meta && loading) return null
if (!meta) return null
return (
<KeystarProvider router={keystarRouter}>
<ClientSideOnlyDocumentElement bodyBackground='surface' />
Expand All @@ -186,7 +186,7 @@ function InternalKeystoneProvider ({
<DrawerProvider>
<KeystoneContext.Provider value={{
adminConfig,
adminMeta: meta ?? null,
adminMeta: meta,
fieldViews,
apiPath,
}}>
Expand Down

0 comments on commit f5610a1

Please sign in to comment.