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 merge requests found
......@@ -119,15 +119,11 @@ export default class SearchApp extends React.Component {
isActive = true;
}
const color = isActive
? color("brand")
: color("text-medium");
return (
<Link
className="flex align-center"
mb={3}
color={color}
color={color(isActive ? "brand" : "text-medium")}
to={{
pathname: location.pathname,
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