diff --git a/packages/client/scan/src/components/Header.tsx b/packages/client/scan/src/components/Header.tsx index bf623d3a..c6bd9d70 100644 --- a/packages/client/scan/src/components/Header.tsx +++ b/packages/client/scan/src/components/Header.tsx @@ -48,7 +48,7 @@ export default function Header() { return (
- {(showBack && ( + {(showBack && window.history.length > 1 && ( { if (location.pathname.startsWith('/models/modelview')) { diff --git a/packages/client/scan/src/components/Nav.tsx b/packages/client/scan/src/components/Nav.tsx index 4a021abc..dcc4a4f9 100644 --- a/packages/client/scan/src/components/Nav.tsx +++ b/packages/client/scan/src/components/Nav.tsx @@ -3,7 +3,6 @@ import styled from 'styled-components' import GitHubButton from 'react-github-btn' import Logo from './Logo' -import LoginButton from './LoginButton' import { useCeramicCtx } from '../context/CeramicCtx' export default function Nav() { @@ -54,7 +53,7 @@ export default function Nav() {
- + {/* */}