publish: fix foreign notebooks

This commit is contained in:
Liam Fitzgerald 2020-08-25 11:47:46 +10:00
parent 21a64076e2
commit 5e0f6470a2

View File

@ -137,10 +137,6 @@ export default function PublishApp(props: PublishAppProps) {
bookGroupPath in contacts ? contacts[bookGroupPath] : {};
const notebook = notebooks?.[ship]?.[book];
if(!notebook) {
return null
}
return (
<NotebookRoutes
notebook={notebook}