Skip to content

Conversation

@zoeGuava
Copy link
Collaborator

  • add route setting
  • add mock account information in JSON file

@zoeGuava zoeGuava requested a review from ezcomenezgo June 26, 2022 08:47
@zoeGuava zoeGuava added the enhancement New feature or request label Jun 26, 2022
@zoeGuava
Copy link
Collaborator Author

zoeGuava commented Jun 29, 2022

  1. remove console.log()
  2. don't save sensitive data with localstorage, please use the cookie to do that
  3. the file here utils/Constant.js can replace by a constant folder, and put js file here
  4. your header tag is repeated...

<h1>登入</h1>
<form action="submit">
<label>
<form action="submit" onSubmit={handleLogin} className="flex flex-col">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the onSubmit will disable form action="submit", so here is unnecessary to use action here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants