Skip to content

Commit

Permalink
Clean up text
Browse files Browse the repository at this point in the history
  • Loading branch information
ddrosario committed Feb 29, 2024
1 parent ab3b008 commit 8729dc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ function Index() {
return res.json();
}),
});

if (isFetching) {
return <main>Index is loading</main>;
}

if (error) {
return <main>Index is failed</main>;
return <main>Index fetch failed</main>;
}

return <main>Index is working</main>;
Expand Down

0 comments on commit 8729dc8

Please sign in to comment.