mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
fix/confirm-pack-delete: adjust code round 2
This commit is contained in:
parent
8836984454
commit
cc9990096d
@ -17,10 +17,10 @@ export function DeleteModal({
|
|||||||
}: DeleteModalProps) {
|
}: DeleteModalProps) {
|
||||||
const { t } = useTranslation("game_details");
|
const { t } = useTranslation("game_details");
|
||||||
|
|
||||||
function handleDeleteGame() {
|
const handleDeleteGame = () => {
|
||||||
deleteGame();
|
deleteGame();
|
||||||
onClose();
|
onClose();
|
||||||
}
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
|
Loading…
Reference in New Issue
Block a user