forked from PolarisPyra/daphnis
yet another dumb type error
This commit is contained in:
parent
bac288298b
commit
7e0d9a1023
@ -150,7 +150,7 @@ export const MapIconCustomization: FC<SystemVoiceSelectionProps> = ({
|
||||
>
|
||||
{field.value
|
||||
? playerMapIconCustomization.mapIcon.find(
|
||||
(part) => part.id === field.value,
|
||||
(part) => part.id === Number(field.value),
|
||||
)?.str
|
||||
: "Select Map Icon"}
|
||||
<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
|
||||
@ -173,7 +173,7 @@ export const MapIconCustomization: FC<SystemVoiceSelectionProps> = ({
|
||||
<Check
|
||||
className={cn(
|
||||
"mr-2 h-4 w-4",
|
||||
part.id === field.value
|
||||
part.id === Number(field.value)
|
||||
? "opacity-100"
|
||||
: "opacity-0",
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user