Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
fix: typo on button & form
Browse files Browse the repository at this point in the history
  • Loading branch information
BoYanZh committed Feb 13, 2024
1 parent 02fb2aa commit 35b5029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const Index: React.FC = () => {
</Nav>
<Nav>
<Button
className='my-2 my-sm-0 mx-1'
type='button'
className='btn my-2 my-sm-0 mx-1'
variant='outline-secondary'
onClick={() => {
toggleTheme()
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const LoginForm: React.FC = () => {
required
type='password'
placeholder='Password'
defaultValue={username}
defaultValue={password}
onChange={e => {
setPassword(e.target.value)
}}
Expand Down

0 comments on commit 35b5029

Please sign in to comment.