fix/confirm-pack-delete: adjust code round 2

This commit is contained in:
Guilherme Viana 2024-04-15 15:44:45 -03:00
parent 8836984454
commit cc9990096d

View File

@ -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