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 (
<div className={className + ' dropdown-wrapper'}>
<div className={className}>
<ArrowIcon variant={variant} />
<select onChange={handleOnChange} value={value} className="dropdown-select">
{placeholder && (
@ -55,7 +55,7 @@ const DropdownComponent = (props: DropdownProps): JSX.Element => {
</option>
)}
{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}
</option>
))}