fix price error

This commit is contained in:
code002lover 2026-01-11 22:28:53 +01:00
parent 2ee08dc7d8
commit 500be84f39
2 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ export function EditGame({ onShowToast }: Props) {
<input
type="number"
value={price}
onChange={(e) => setPrice(Number(e.target.value))}
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
min="0"
step="0.01"
style={inputStyles}

View File

@ -463,7 +463,7 @@ export function GameList({ onShowToast }: Props) {
<input
type="number"
value={price}
onChange={(e) => setPrice(Number(e.target.value))}
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
min="0"
step="0.01"
style={inputStyles}