BIG-108: message alert - estimate reject.

This commit is contained in:
elforjani13
2021-09-21 19:41:55 +02:00
parent cbed3e1c24
commit 903e769bff

View File

@@ -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}
>
<p>
<T id={'are_sure_to_approve_this_estimate'} />
<T id={'are_sure_to_reject_this_estimate'} />
</p>
</Alert>
);