diff --git a/crates/lanspread-tauri-deno-ts/src/windows/MainWindow.tsx b/crates/lanspread-tauri-deno-ts/src/windows/MainWindow.tsx index 1b087a2..da8f4e5 100644 --- a/crates/lanspread-tauri-deno-ts/src/windows/MainWindow.tsx +++ b/crates/lanspread-tauri-deno-ts/src/windows/MainWindow.tsx @@ -97,6 +97,7 @@ export const MainWindow = () => { const confirmRemoveDownload = useCallback((game: Game) => { actions.removeDownload(game.id); setRemoveGameId(null); + setOpenGameId(current => current === game.id ? null : current); }, [actions]); const kebabItems: ReadonlyArray = useMemo(() => [