diff --git a/app/components/inputs/CountrySelect.tsx b/app/components/inputs/CountrySelect.tsx index 1217523..3361221 100644 --- a/app/components/inputs/CountrySelect.tsx +++ b/app/components/inputs/CountrySelect.tsx @@ -1,10 +1,8 @@ - - 'use client' import Select from 'react-select' import useCountries from '@/app/hooks/useCountries' - +import Image from 'next/image' export type CountrySelectValue = { flag: string @@ -33,10 +31,12 @@ const CountrySelect: React.FC = ({ value, onChange }) => { formatOptionLabel={(option: any) => (
{option.flag && ( - {`${option.label} )}
@@ -57,8 +57,8 @@ const CountrySelect: React.FC = ({ value, onChange }) => { borderRadius: 6, colors: { ...theme.colors, - primary: '#fcd75f', //if want give black - primary25: '#fef3c7', // light yellow for hover ( rose colour is #ffe4e6) + primary: '#fcd75f', // if want give black + primary25: '#fef3c7', // light yellow for hover (rose colour is #ffe4e6) }, })} />