From 903e769bff5b0ae9685074ef194664a217e84630 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Tue, 21 Sep 2021 19:41:55 +0200 Subject: [PATCH] BIG-108: message alert - estimate reject. --- src/containers/Alerts/Estimates/EstimateRejectAlert.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/containers/Alerts/Estimates/EstimateRejectAlert.js b/src/containers/Alerts/Estimates/EstimateRejectAlert.js index e8822b297..d4bc2384e 100644 --- a/src/containers/Alerts/Estimates/EstimateRejectAlert.js +++ b/src/containers/Alerts/Estimates/EstimateRejectAlert.js @@ -24,11 +24,7 @@ function EstimateRejectAlert({ // #withAlertActions closeAlert, }) { - - const { - mutateAsync: rejectEstimateMutate, - isLoading - } = useRejectEstimate(); + const { mutateAsync: rejectEstimateMutate, isLoading } = useRejectEstimate(); // Handle cancel reject estimate alert. const handleCancelRejectEstimate = () => { @@ -61,7 +57,7 @@ function EstimateRejectAlert({ loading={isLoading} >

- +

);