Fix: Changed ChangeGamePlaytimeModalProps to Readonly

This commit is contained in:
Moyasee
2025-09-17 12:20:52 +03:00
parent 665365abdc
commit 291935a1bc

View File

@@ -21,7 +21,7 @@ export function ChangeGamePlaytimeModal({
changePlaytime,
onSuccess,
onError,
}: ChangeGamePlaytimeModalProps) {
}: Readonly<ChangeGamePlaytimeModalProps>) {
const { t } = useTranslation("game_details");
const [hours, setHours] = useState("");
const [minutes, setMinutes] = useState("");