From 291935a1bca880938f1e3526ccbbf63bd06d3b26 Mon Sep 17 00:00:00 2001 From: Moyasee Date: Wed, 17 Sep 2025 12:20:52 +0300 Subject: [PATCH] Fix: Changed ChangeGamePlaytimeModalProps to Readonly --- .../pages/game-details/modals/change-game-playtime-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/pages/game-details/modals/change-game-playtime-modal.tsx b/src/renderer/src/pages/game-details/modals/change-game-playtime-modal.tsx index f4da2b4d..1ac6ee50 100644 --- a/src/renderer/src/pages/game-details/modals/change-game-playtime-modal.tsx +++ b/src/renderer/src/pages/game-details/modals/change-game-playtime-modal.tsx @@ -21,7 +21,7 @@ export function ChangeGamePlaytimeModal({ changePlaytime, onSuccess, onError, -}: ChangeGamePlaytimeModalProps) { +}: Readonly) { const { t } = useTranslation("game_details"); const [hours, setHours] = useState(""); const [minutes, setMinutes] = useState("");