This commit is contained in:
@@ -71,7 +71,6 @@ export default function WorkflowEditPage() {
|
||||
}
|
||||
} catch (error) {
|
||||
toast.error('Failed to save workflow');
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ export default function NewWorkflowPage() {
|
||||
router.push('/admin/doc-control/workflows');
|
||||
} catch (error) {
|
||||
toast.error('Failed to create workflow');
|
||||
console.error('[NewWorkflowPage]', error);
|
||||
} finally {
|
||||
setSaving(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user