File tree 3 files changed +16
-8
lines changed
3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,23 @@ module.exports = withBundleAnalyzer({
104
104
} ,
105
105
{
106
106
source : '/:id/listeningClocks' ,
107
- destination : '/user/:id/listeningClocks' ,
107
+ destination : '/user/:id/listening-clocks' ,
108
+ } ,
109
+ {
110
+ source : '/:id/listening-clocks' ,
111
+ destination : '/user/:id/listening-locks' ,
108
112
} ,
109
113
{
110
114
source : '/:id/genres' ,
111
115
destination : '/user/:id/genres' ,
112
116
} ,
113
117
{
114
118
source : '/:id/recentStreams' ,
115
- destination : '/user/:id/recentStreams' ,
119
+ destination : '/user/:id/recent-streams' ,
120
+ } ,
121
+ {
122
+ source : '/:id/recent-streams' ,
123
+ destination : '/user/:id/recent-streams' ,
116
124
} ,
117
125
] ;
118
126
} ,
Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ function activeScrollIntoViewFromDeepLink(
66
66
id !== 'tracks' &&
67
67
id !== 'albums' &&
68
68
id !== 'artists' &&
69
- id !== 'listeningClocks ' &&
70
- id !== 'recentStreams '
69
+ id !== 'listening-clocks ' &&
70
+ id !== 'recent-streams '
71
71
)
72
72
return null ;
73
73
@@ -286,8 +286,8 @@ const User: NextPage<Props> = ({
286
286
albums : topAlbumsRef ,
287
287
artists : topArtistsRef ,
288
288
genres : topGenresRef ,
289
- listeningClocks : listeningClocksRef ,
290
- recentStreams : recentStreamsRef ,
289
+ 'listening-clocks' : listeningClocksRef ,
290
+ 'recent-streams' : recentStreamsRef ,
291
291
} ;
292
292
293
293
if ( scrollIntoView ) refs [ scrollIntoView ] . current ?. scrollIntoView ( ) ;
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ export type UserScrollIntoView =
8
8
| 'tracks'
9
9
| 'albums'
10
10
| 'artists'
11
- | 'listeningClocks '
12
- | 'recentStreams ' ;
11
+ | 'listening-clocks '
12
+ | 'recent-streams ' ;
You can’t perform that action at this time.
0 commit comments