Skip to content

Commit a848081

Browse files
Merge pull request #1325 from TezzardzGoneWild/bugfix/prevent-back-button-loop
Bugfix - Prevent back button loop on Artist / Collector pages
2 parents 2ebd5d4 + ab90792 commit a848081

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/routes.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ export const routes = [
3333
path: '/latest',
3434
component: Latest,
3535
},
36-
{
37-
exact: false,
38-
path: '/tz/:id/:collection?',
39-
component: Display,
40-
},
4136
{
4237
exact: false,
4338
path: '/kt/:id',
@@ -104,7 +99,7 @@ export const routes = [
10499
},
105100
{
106101
exact: false,
107-
path: '/:id/:collection?',
102+
path: ['/tz/:id/:collection?', '/:id/:collection?'],
108103
component: Display,
109104
},
110105
]

0 commit comments

Comments
 (0)