Skip to content

Commit 8cc6d85

Browse files
authored
delay (#397)
1 parent 060b296 commit 8cc6d85

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/JAF/JAF.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ function JAF() {
178178
});
179179

180180
toast.success("JAF Form submitted successfully! Your application has been received.");
181-
window.location.reload();
181+
182+
setTimeout(() => {
183+
window.location.reload();
184+
}, 1000);
182185
} catch (error: any) {
183186
console.error("JAF submission error:", error);
184187

0 commit comments

Comments
 (0)