File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff 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
2635amplify /\# current-cloud-backend
2736amplify /.config /local- *
37+ amplify /logs
2838amplify /mock-data
2939amplify /backend /amplify-meta.json
3040amplify /backend /awscloudformation
41+ amplify /backend /.temp
3142build /
3243dist /
3344node_modules /
3445aws-exports.js
3546awsconfiguration.json
3647amplifyconfiguration.json
48+ amplifyconfiguration.dart
3749amplify-build-config.json
3850amplify-gradle-config.json
3951amplifytools.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
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { walletPreview } from '../../utils/string'
1212import { VisuallyHidden } from '../visually-hidden'
1313import styles from './styles.module.scss'
1414import { 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 >
You can’t perform that action at this time.
0 commit comments