Skip to content

Commit

Permalink
FIx dropdown search btn
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinkipruto committed Feb 21, 2025
1 parent 7b67587 commit 1d157f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
ListItem,
SvgIcon,
Box,
Button,
} from "@mui/material";
import { useRouter } from "next/router";
import PropTypes from "prop-types";
import React, { useEffect, useState } from "react";

import SearchIcon from "@/climatemappedafrica/assets/icons/search.svg";
import Link from "@/climatemappedafrica/components/Link";

function DropdownSearch({
IconButtonProps,
Expand Down Expand Up @@ -174,7 +174,7 @@ function DropdownSearch({
>
{suggestions.map(({ name, code }) => (
<ListItem
component={Link}
component={Button}
variant="subtitle1"
underline="none"
onClick={() => handleSelect(code, name)}
Expand Down

0 comments on commit 1d157f8

Please sign in to comment.