Skip to content

Commit

Permalink
remove prepopulated test username + password
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Hai committed Apr 23, 2020
1 parent 893fd49 commit 57b9a4f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/with-userbase/components/modal/index.js
Expand Up @@ -9,13 +9,6 @@ function LoginModal({ toggle, modalType, setUser }) {

useEffect(() => {
setError("");
if (modalType === "logIn") {
setUsername("test");
setPassword("test123");
} else {
if (username) setUsername("");
if (password) setPassword("");
}
}, [modalType]);

async function handleSignUp(e) {
Expand Down

0 comments on commit 57b9a4f

Please sign in to comment.