From b8d993629c4d87699cf7a7b59a8e5abb1849e6a7 Mon Sep 17 00:00:00 2001 From: Samuel Couillard <43917914+scouillard@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:57:38 -0500 Subject: [PATCH] Add missing toast on Presentation delete (#4727) --- app/javascript/hooks/mutations/rooms/useDeletePresentation.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/hooks/mutations/rooms/useDeletePresentation.jsx b/app/javascript/hooks/mutations/rooms/useDeletePresentation.jsx index ba514eec..1ca2af5c 100644 --- a/app/javascript/hooks/mutations/rooms/useDeletePresentation.jsx +++ b/app/javascript/hooks/mutations/rooms/useDeletePresentation.jsx @@ -12,7 +12,7 @@ export default function useDeletePresentation(friendlyId) { { onSuccess: () => { queryClient.invalidateQueries(['getRoom', { friendlyId }]); - toast.success(t('toast.success.presentation_deleted')); + toast.success(t('toast.success.room.presentation_deleted')); }, onError: () => { toast.error(t('toast.error.problem_completing_action')); -- GitLab