diff --git a/src/hooks/useMarketoForm.js b/src/hooks/useMarketoForm.js index 59069bcac..08b675c99 100644 --- a/src/hooks/useMarketoForm.js +++ b/src/hooks/useMarketoForm.js @@ -58,7 +58,7 @@ const useMarketoForm = ({ '//app-abj.marketo.com', munchkinId, id, - (form) => send({ type: 'READY', form }) + (form) => (form ? send({ type: 'READY', form }) : send('LOAD_ERROR')) ); }), defineFormActions: asEffect(({ form }) => {