diff --git a/src/fireedge/src/client/hooks/useProvision.js b/src/fireedge/src/client/hooks/useProvision.js index ce27dae4e4..00130706d1 100644 --- a/src/fireedge/src/client/hooks/useProvision.js +++ b/src/fireedge/src/client/hooks/useProvision.js @@ -147,6 +147,7 @@ export default function useProvision () { serviceProvision .deleteProvision({ id }) .then(() => dispatch(enqueueSuccess(`Provision deleted - ID: ${id}`))) + .then(() => getProvisions()) .catch(err => dispatch(enqueueError(err ?? 'Error DELETE provision'))) , [dispatch] )