Skip to content

Commit

Permalink
Update HomePage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushmaanagarwal1211 authored Jun 27, 2024
1 parent f96efb3 commit 1b49ecd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website3.0/pages/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ function HomePage() {

// Function to handle subscription process
const subscribe = async () => {
setTimeout(() => {
setEmail('')
}, 2000);
// Validate email format
setLoading(true)
if (!validateEmail(email)) {
Expand Down

0 comments on commit 1b49ecd

Please sign in to comment.