Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dcgleason committed Dec 29, 2022
1 parent ef9cd88 commit 491f457
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/signin.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const onSubmit = async e => {
console.log("body: ", body);
// Use fetch to send a POST request to the /signup route
const res = await fetch(
'http://localhost:3001/login/signup',
'http://localhost:3001/login/signin',
{
method: 'POST',
body: body,
Expand Down Expand Up @@ -79,10 +79,10 @@ const onSubmit = async e => {
id="email"
name="username"
type="email"
autoComplete="email"
required
value={username}
onChange={e => setUsername(e)}
onChange={e => setUsername(e.target.value)}
required
// autoComplete="email"
className="block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
/>
</div>
Expand Down

0 comments on commit 491f457

Please sign in to comment.