Skip to content

Commit

Permalink
set isLoading to false on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Mar 19, 2024
1 parent f41f86e commit 06686bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default function Home() {
}
} catch (error) {
console.log("Error:", error);
setIsLoading(false);
}
};

Expand Down

0 comments on commit 06686bf

Please sign in to comment.