Merge branch 'feat/refresh' into feat/improve-readability

This commit is contained in:
Lucas Smith
2023-08-31 14:06:43 +10:00
committed by GitHub
25 changed files with 131 additions and 49 deletions

View File

@ -130,7 +130,13 @@ export const EditDocumentForm = ({
},
});
router.refresh();
toast({
title: 'Document sent',
description: 'Your document has been sent successfully.',
duration: 5000,
});
router.push('/dashboard');
} catch (err) {
console.error(err);