mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
BIG-108: message alert - estimate reject.
This commit is contained in:
@@ -24,11 +24,7 @@ function EstimateRejectAlert({
|
|||||||
// #withAlertActions
|
// #withAlertActions
|
||||||
closeAlert,
|
closeAlert,
|
||||||
}) {
|
}) {
|
||||||
|
const { mutateAsync: rejectEstimateMutate, isLoading } = useRejectEstimate();
|
||||||
const {
|
|
||||||
mutateAsync: rejectEstimateMutate,
|
|
||||||
isLoading
|
|
||||||
} = useRejectEstimate();
|
|
||||||
|
|
||||||
// Handle cancel reject estimate alert.
|
// Handle cancel reject estimate alert.
|
||||||
const handleCancelRejectEstimate = () => {
|
const handleCancelRejectEstimate = () => {
|
||||||
@@ -61,7 +57,7 @@ function EstimateRejectAlert({
|
|||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
>
|
>
|
||||||
<p>
|
<p>
|
||||||
<T id={'are_sure_to_approve_this_estimate'} />
|
<T id={'are_sure_to_reject_this_estimate'} />
|
||||||
</p>
|
</p>
|
||||||
</Alert>
|
</Alert>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user