Skip to content

Commit

Permalink
fix: viewer might be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Nov 23, 2023
1 parent 11d2ea1 commit baea0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/core/Root/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const Root: React.FC<RootProps> = (props) => {
defaultPendingMs={1_000}
defaultPendingElement={<PleaseWait />}
location={location}
routes={getRoutes(viewer)}
routes={getRoutes(viewer || null)}
>
<div
id="page-wrapper"
Expand Down

0 comments on commit baea0be

Please sign in to comment.