mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 13:06:09 +03:00
parent
3765a8a767
commit
28a7b3782e
@ -55,15 +55,18 @@ export function NotebookRoutes(
|
||||
<Route
|
||||
path={baseUrl}
|
||||
exact
|
||||
render={(routeProps) => (
|
||||
<Notebook
|
||||
render={(routeProps) => {
|
||||
if (!graph) {
|
||||
return <Center height="100%"><LoadingSpinner /></Center>;
|
||||
}
|
||||
return <Notebook
|
||||
{...props}
|
||||
graph={graph}
|
||||
contacts={notebookContacts}
|
||||
association={props.association}
|
||||
rootUrl={rootUrl}
|
||||
baseUrl={baseUrl} />
|
||||
)}
|
||||
baseUrl={baseUrl} />;
|
||||
}}
|
||||
/>
|
||||
<Route
|
||||
path={relativePath("/new")}
|
||||
|
Loading…
Reference in New Issue
Block a user