diff --git a/frontend/src/components/notebook/NotebookCreateBox.tsx b/frontend/src/components/notebook/NotebookCreateBox.tsx index 5ee8c18..3c8c6c4 100644 --- a/frontend/src/components/notebook/NotebookCreateBox.tsx +++ b/frontend/src/components/notebook/NotebookCreateBox.tsx @@ -54,6 +54,12 @@ export function NotebookCreateBox({viewSet, resource}: NotebookCreateBoxProps): [viewSet, resource], ) + if(!authorization) { + return null + } + if(!authorization.state.token) { + return null + } if(resource) { if(resource.value.locked_by) { return null