@@ -75,7 +75,7 @@ function DiscoverPage(): JSX.Element {
7575 } }
7676 style = { {
7777 backgroundColor :
78- toggle == "new" ? "rgb(17, 17, 17)" : "rgba(17, 17, 17, 0.4)" ,
78+ toggle === "new" ? "rgb(17, 17, 17)" : "rgba(17, 17, 17, 0.4)" ,
7979 // backgroundColorHover: 'rgba(17, 17, 17, 0.7)',
8080 border : "none" ,
8181 borderRadius : "6px 0 0 6px" ,
@@ -97,7 +97,7 @@ function DiscoverPage(): JSX.Element {
9797 } }
9898 style = { {
9999 backgroundColor :
100- toggle == "trending"
100+ toggle === "trending"
101101 ? "rgb(17, 17, 17)"
102102 : "rgba(17, 17, 17, 0.4)" ,
103103 // backgroundColorHover: 'rgba(17, 17, 17, 0.7)',
@@ -120,7 +120,7 @@ function DiscoverPage(): JSX.Element {
120120 } }
121121 style = { {
122122 backgroundColor :
123- toggle == "top" ? "rgb(17, 17, 17)" : "rgba(17, 17, 17, 0.4)" ,
123+ toggle === "top" ? "rgb(17, 17, 17)" : "rgba(17, 17, 17, 0.4)" ,
124124 // backgroundColorHover: 'rgba(17, 17, 17, 0.7)',
125125 border : "none" ,
126126 borderRadius : "0 6px 6px 0" ,
0 commit comments