mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
publish: fix foreign notebooks
This commit is contained in:
parent
21a64076e2
commit
5e0f6470a2
@ -137,10 +137,6 @@ export default function PublishApp(props: PublishAppProps) {
|
|||||||
bookGroupPath in contacts ? contacts[bookGroupPath] : {};
|
bookGroupPath in contacts ? contacts[bookGroupPath] : {};
|
||||||
|
|
||||||
const notebook = notebooks?.[ship]?.[book];
|
const notebook = notebooks?.[ship]?.[book];
|
||||||
if(!notebook) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NotebookRoutes
|
<NotebookRoutes
|
||||||
notebook={notebook}
|
notebook={notebook}
|
||||||
|
Loading…
Reference in New Issue
Block a user