Skip to content
Snippets Groups Projects
Unverified Commit 8ebfff3c authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

fix search app error with shadowed import (#10811)

parent a9eefdd9
No related branches found
No related tags found
No related merge requests found
...@@ -119,15 +119,11 @@ export default class SearchApp extends React.Component { ...@@ -119,15 +119,11 @@ export default class SearchApp extends React.Component {
isActive = true; isActive = true;
} }
const color = isActive
? color("brand")
: color("text-medium");
return ( return (
<Link <Link
className="flex align-center" className="flex align-center"
mb={3} mb={3}
color={color} color={color(isActive ? "brand" : "text-medium")}
to={{ to={{
pathname: location.pathname, pathname: location.pathname,
query: { ...location.query, type: f.filter }, query: { ...location.query, type: f.filter },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment