Skip to content

Commit

Permalink
Reduce duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinkipruto committed Oct 18, 2024
1 parent 79baf19 commit 97e03f7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ function DropdownSearch({
}
};

let iconComponent = SearchIcon;
let iconBorder;
if (variant === "explore") {
iconComponent = IconProp;
iconBorder = {
borderRadius: "50%",
border: "2px solid #fff",
};
}
const searchIconButton = (
<IconButton
color="primary"
Expand Down

0 comments on commit 97e03f7

Please sign in to comment.