Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sk337 committed Jan 23, 2024
1 parent 47b9dde commit 82660b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function App() {
alert("Please fill out all fields");
return;
} else if (oldUsername !== newUsername) {
alert("Username must match");
alert("Usernames must match");
return;
}

Expand Down Expand Up @@ -197,6 +197,8 @@ export default function App() {
</CardTitle>
</CardHeader>
<CardContent>
// may need to get a new token ? alert("Username changed");
window.location.reload();
<p>
<span className="text-sky-500">Username: </span>
{userData.account.username}
Expand Down

0 comments on commit 82660b4

Please sign in to comment.