Skip to content

Commit

Permalink
Merge pull request #138 from us3r-network/F-backable-ttang
Browse files Browse the repository at this point in the history
F backable ttang
  • Loading branch information
sin-bufan authored Jun 26, 2023
2 parents c4ba317 + 7b82313 commit 89126a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/client/scan/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Header() {
return (
<Box>
<div>
{(showBack && (
{(showBack && window.history.length > 1 && (
<BackBtn
backAction={() => {
if (location.pathname.startsWith('/models/modelview')) {
Expand Down
3 changes: 1 addition & 2 deletions packages/client/scan/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -54,7 +53,7 @@ export default function Nav() {
</div>

<div className="nav-bottom">
<LoginButton />
{/* <LoginButton /> */}
<div className="github-star">
<GitHubButton
href="https://github.com/us3r-network/userscan"
Expand Down

0 comments on commit 89126a5

Please sign in to comment.