fix: remove unused className

This commit is contained in:
Alex Varchuk 2022-05-04 17:47:51 +03:00
parent bcf4d4fde9
commit a4fb5bfb4f

View File

@ -46,7 +46,7 @@ const DropdownComponent = (props: DropdownProps): JSX.Element => {
}; };
return ( return (
<div className={className + ' dropdown-wrapper'}> <div className={className}>
<ArrowIcon variant={variant} /> <ArrowIcon variant={variant} />
<select onChange={handleOnChange} value={value} className="dropdown-select"> <select onChange={handleOnChange} value={value} className="dropdown-select">
{placeholder && ( {placeholder && (
@ -55,7 +55,7 @@ const DropdownComponent = (props: DropdownProps): JSX.Element => {
</option> </option>
)} )}
{options.map(({ idx, value, title }: DropdownOption, index) => ( {options.map(({ idx, value, title }: DropdownOption, index) => (
<option key={idx || value + index} value={value} className="dropdown-option"> <option key={idx || value + index} value={value}>
{title || value} {title || value}
</option> </option>
))} ))}