Skip to content

Commit bcaaca1

Browse files
author
crzypatchwork
committed
latest
1 parent 995e988 commit bcaaca1

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

.gitignore

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,32 @@ yarn-error.log*
2222
!.elasticbeanstalk/*.cfg.yml
2323
!.elasticbeanstalk/*.global.yml
2424

25-
#amplify
25+
# templates
26+
templates/html-image-scale/package-lock.json
27+
templates/html-image-scale/node_modules
28+
templates/html-image-scale/dist
29+
templates/html-image-scale/.parcel-cache
30+
31+
# contributor specific (local) folders
32+
.next
33+
34+
#amplify-do-not-edit-begin
2635
amplify/\#current-cloud-backend
2736
amplify/.config/local-*
37+
amplify/logs
2838
amplify/mock-data
2939
amplify/backend/amplify-meta.json
3040
amplify/backend/awscloudformation
41+
amplify/backend/.temp
3142
build/
3243
dist/
3344
node_modules/
3445
aws-exports.js
3546
awsconfiguration.json
3647
amplifyconfiguration.json
48+
amplifyconfiguration.dart
3749
amplify-build-config.json
3850
amplify-gradle-config.json
3951
amplifytools.xcconfig
40-
41-
# templates
42-
templates/html-image-scale/package-lock.json
43-
templates/html-image-scale/node_modules
44-
templates/html-image-scale/dist
45-
templates/html-image-scale/.parcel-cache
46-
47-
# contributor specific (local) folders
48-
.next
52+
.secret-*
53+
#amplify-do-not-edit-end

src/components/header/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { walletPreview } from '../../utils/string'
1212
import { VisuallyHidden } from '../visually-hidden'
1313
import styles from './styles.module.scss'
1414
import { getItem, setItem } from '../../utils/storage'
15+
import { Link } from 'react-router-dom'
1516

1617
/* import { BeaconWallet } from '@taquito/beacon-wallet'
1718
@@ -48,7 +49,7 @@ export const Header = () => {
4849
//console.log(activeAccount)
4950
const handleRoute = (path) => {
5051
context.setMenu(true)
51-
history.push(path)
52+
history.push('#'+ path)
5253
}
5354

5455
const handleSyncUnsync = () => {
@@ -121,8 +122,8 @@ export const Header = () => {
121122
</Button>
122123
</li>
123124
<li>
124-
<Button onClick={() => handleRoute('/galleries')}>
125-
<Primary>galleries</Primary>
125+
<Button>
126+
<Primary><Link to='galleries'>galleries</Link></Primary>
126127
</Button>
127128
</li>
128129
<li>

0 commit comments

Comments
 (0)