File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const StyledLink = styled(Link)<{ isActive: boolean }>`
49
49
` ;
50
50
51
51
const HiddenLink = styled ( StyledLink ) < { isActive : boolean } > `
52
- color: ${ ( { theme } ) => theme . primaryPurple } ;
52
+ color: ${ ( { isActive , theme } ) => ( isActive ? theme . primaryText : theme . primaryPurple ) } ;
53
53
` ;
54
54
55
55
const links = [
@@ -77,13 +77,15 @@ const Explore: React.FC = () => {
77
77
</ StyledLink >
78
78
</ LinkContainer >
79
79
) ) }
80
- < HiddenLink
81
- to = "/disputeTemplate"
82
- onClick = { toggleIsOpen }
83
- isActive = { location . pathname . startsWith ( "/disputeTemplate" ) }
84
- >
85
- X
86
- </ HiddenLink >
80
+ < LinkContainer >
81
+ < HiddenLink
82
+ to = "/disputeTemplate"
83
+ onClick = { toggleIsOpen }
84
+ isActive = { location . pathname . startsWith ( "/disputeTemplate" ) }
85
+ >
86
+ Dev
87
+ </ HiddenLink >
88
+ </ LinkContainer >
87
89
</ Container >
88
90
) ;
89
91
} ;
You can’t perform that action at this time.
0 commit comments