mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-27 13:45:27 -05:00
Select fix warning
This commit is contained in:
@@ -10,14 +10,10 @@ export function Select({
|
||||
selected: string;
|
||||
}) {
|
||||
return (
|
||||
<S_Select onChange={onChange}>
|
||||
<S_Select value={selected} onChange={onChange}>
|
||||
{values.map((value) => {
|
||||
return (
|
||||
<option
|
||||
key={value.id}
|
||||
value={value.id}
|
||||
selected={value.id === selected}
|
||||
>
|
||||
<option key={value.id} value={value.id}>
|
||||
{value.name}
|
||||
</option>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user