현금영수증 수기 발행 완료
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { ChangeEvent } from "react";
|
||||
|
||||
export interface FilterSelectProps {
|
||||
title: string;
|
||||
selectValue: string;
|
||||
@@ -18,7 +20,6 @@ export const FilterSelect = ({
|
||||
<option
|
||||
key={ `key-filter-select-${i}` }
|
||||
value={ selectOptions[i]?.value }
|
||||
selected={ (selectValue === selectOptions[i]?.value)? true: false }
|
||||
>{ selectOptions[i]?.name }</option>
|
||||
);
|
||||
}
|
||||
@@ -33,7 +34,7 @@ export const FilterSelect = ({
|
||||
<select
|
||||
className="flex-1"
|
||||
value={ selectValue }
|
||||
onChange={ (e: any) => selectSetter(e.target.value)}
|
||||
onChange={ (e: ChangeEvent<HTMLSelectElement>) => selectSetter(e.target.value)}
|
||||
>
|
||||
{ getSelectOptions() }
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user