This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
widgets/Navigator/MainEntries Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export const getStaticProps: GetStaticProps = async (ctx) => {
71
71
// ...ssrBaseStates(resp),
72
72
route : {
73
73
communityPath : community . raw ,
74
- mainPath : ROUTE . HOT ,
74
+ mainPath : ROUTE . TOPICS ,
75
75
subPath : thread === THREAD . POST ? '' : thread ,
76
76
thread,
77
77
} ,
Original file line number Diff line number Diff line change @@ -20,8 +20,11 @@ const DesktopView: FC<TProps> = ({ type }) => {
20
20
21
21
return (
22
22
< Wrapper type = { type } >
23
- < Link href = { `/${ ROUTE . HOT } ` } passHref >
24
- < SiteLink active = { mainPath === ROUTE . HOT } testid = "header-explore-link" >
23
+ < Link href = { `/${ ROUTE . TOPICS } ` } passHref >
24
+ < SiteLink
25
+ active = { mainPath === ROUTE . TOPICS }
26
+ testid = "header-explore-link"
27
+ >
25
28
讨论
26
29
</ SiteLink >
27
30
</ Link >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const NON_COMMUNITY_ROUTE = {
7
7
PLAZA : 'plaza' ,
8
8
GALLERY : 'gallery' ,
9
9
TRENDING : 'trending' ,
10
- HOT : 'hot ' ,
10
+ TOPICS : 'topics ' ,
11
11
SPONSOR : 'sponsor' ,
12
12
FRIENDS : 'friends' ,
13
13
SUPPORT_US : 'support-us' ,
You can’t perform that action at this time.
0 commit comments