Skip to content

Commit 159e878

Browse files
committed
fix formutils
1 parent 1a1a48f commit 159e878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/formUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export const sendEmailRequest = async (
234234
// Set the status to success and mark the form as submitted
235235
setStatus('success');
236236
setFormSubmitted(true);
237-
} catch (error: unknown) {
237+
} catch (error) {
238238
// Handle request errors and set the status accordingly
239239
if (error instanceof Error && error.message === "Request timed out") {
240240
setStatus('timeout');

0 commit comments

Comments
 (0)