Skip to content

Commit

Permalink
show error on client
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Jan 1, 2025
1 parent e2fcede commit 61eeac8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ export const RecalculateModal = ({ seasonId }: { seasonId: string }) => {
status: 'success',
})
},
onError: (error) => {
console.error(error)
toast({
title: 'Hiba az újraszámítás kezdeményezése közben!',
description: error.message,
status: 'error',
})
},
})
}

Expand Down

0 comments on commit 61eeac8

Please sign in to comment.