File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/app/src/app/pages/Sandbox/Editor/Workspace/items/NotOwnedSandboxInfo Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,17 @@ import { WorkspaceItem } from '../../WorkspaceItem';
1010export const NotOwnedSandboxInfo = ( ) => {
1111 const [ editActions , setEditActions ] = useState ( null ) ;
1212 const {
13- state : { editor } ,
13+ state : { editor, hasLogIn } ,
1414 } = useOvermind ( ) ;
1515 const staticTemplate = editor . currentSandbox . template === 'static' ;
1616
1717 return (
1818 < div style = { { marginTop : '1rem' } } >
1919 < Margin bottom = { 1.5 } >
2020 < SandboxInfo sandbox = { editor . currentSandbox } />
21- { editor . currentSandbox . customTemplate && < BookmarkTemplateButton /> }
21+ { editor . currentSandbox . customTemplate && hasLogIn && (
22+ < BookmarkTemplateButton />
23+ ) }
2224 </ Margin >
2325
2426 < WorkspaceItem actions = { editActions } defaultOpen title = "Files" >
You can’t perform that action at this time.
0 commit comments