We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1a48f commit 159e878Copy full SHA for 159e878
src/utils/formUtils.ts
@@ -234,7 +234,7 @@ export const sendEmailRequest = async (
234
// Set the status to success and mark the form as submitted
235
setStatus('success');
236
setFormSubmitted(true);
237
- } catch (error: unknown) {
+ } catch (error) {
238
// Handle request errors and set the status accordingly
239
if (error instanceof Error && error.message === "Request timed out") {
240
setStatus('timeout');
0 commit comments