Skip to content
Snippets Groups Projects
Unverified Commit b8d99362 authored by Samuel Couillard's avatar Samuel Couillard Committed by GitHub
Browse files

Add missing toast on Presentation delete (#4727)

parent 444eb307
Branches
Tags
No related merge requests found
...@@ -12,7 +12,7 @@ export default function useDeletePresentation(friendlyId) { ...@@ -12,7 +12,7 @@ export default function useDeletePresentation(friendlyId) {
{ {
onSuccess: () => { onSuccess: () => {
queryClient.invalidateQueries(['getRoom', { friendlyId }]); queryClient.invalidateQueries(['getRoom', { friendlyId }]);
toast.success(t('toast.success.presentation_deleted')); toast.success(t('toast.success.room.presentation_deleted'));
}, },
onError: () => { onError: () => {
toast.error(t('toast.error.problem_completing_action')); toast.error(t('toast.error.problem_completing_action'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment