From b356d8d6872f736cf8bee84f76debc29cdc46c82 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sun, 14 Feb 2021 16:56:06 +0200 Subject: [PATCH] bills close delete alert --- client/src/containers/Alerts/Bills/BillDeleteAlert.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/src/containers/Alerts/Bills/BillDeleteAlert.js b/client/src/containers/Alerts/Bills/BillDeleteAlert.js index 05c0076bf..5300c1c76 100644 --- a/client/src/containers/Alerts/Bills/BillDeleteAlert.js +++ b/client/src/containers/Alerts/Bills/BillDeleteAlert.js @@ -1,8 +1,5 @@ import React from 'react'; -import { - FormattedMessage as T, - useIntl, -} from 'react-intl'; +import { FormattedMessage as T, useIntl } from 'react-intl'; import { Intent, Alert } from '@blueprintjs/core'; import { AppToaster } from 'components'; @@ -42,6 +39,7 @@ function BillDeleteAlert({ }), intent: Intent.SUCCESS, }); + closeAlert(name); }); };