Skip to content

Commit

Permalink
Update apps/climatemappedafrica/src/components/DropdownSearch/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Clemence Kyara <[email protected]>
  • Loading branch information
kelvinkipruto and kilemensi authored Oct 18, 2024
1 parent 580754f commit c483d49
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions apps/climatemappedafrica/src/components/DropdownSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,15 @@ function DropdownSearch({
size="small"
className={classes.button}
>
{variant === "explore" ? (
<SvgIcon
component={IconProp}
viewBox="0 0 48 48"
sx={{
width: 48,
height: 48,
}}
/>
) : (
<SvgIcon
component={SearchIcon}
viewBox="0 0 48 48"
sx={{
width: 48,
height: 48,
borderRadius: "50%",
border: "2px solid #fff",
}}
/>
)}
<SvgIcon
component={iconComponent}

Check failure on line 123 in apps/climatemappedafrica/src/components/DropdownSearch/index.js

View workflow job for this annotation

GitHub Actions / Build and Test (20.16, ubuntu-latest)

'iconComponent' is not defined
viewBox="0 0 48 48"
sx={{
width: 48,
height: 48,
...iconBorder,

Check failure on line 128 in apps/climatemappedafrica/src/components/DropdownSearch/index.js

View workflow job for this annotation

GitHub Actions / Build and Test (20.16, ubuntu-latest)

'iconBorder' is not defined
}}
/>
</IconButton>
);

Expand Down

0 comments on commit c483d49

Please sign in to comment.