()
| 55 | const { handleError, modal } = useUpgradeModal(); |
| 56 | |
| 57 | const handleCreate = () => { |
| 58 | createWorkflow.mutate(undefined, { |
| 59 | onSuccess: (data) => { |
| 60 | router.push(`/workflows/${data.id}`); |
| 61 | }, |
| 62 | onError: (error) => { |
| 63 | handleError(error); |
| 64 | }, |
| 65 | }); |
| 66 | } |
| 67 | |
| 68 | return ( |
| 69 | <> |
nothing calls this directly
no test coverage detected