Skip to content

Commit

Permalink
client: rename form id
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham-Lal committed May 4, 2024
1 parent 99f0020 commit 49b8cd4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/components/modal/auth/brief-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const BriefInfo: React.FC<RegisterDataProps> = ({ registerData, setRegisterData
<h3>Brief Info</h3>
<p>Change Email or Password? <span onClick={() => setAuthTab(AuthTab.Signup)}>Go Back</span></p>
</div>
<form id='brief' className='form__container' onSubmit={handleFormSubmit}>
<form id='brief-form' className='form__container' onSubmit={handleFormSubmit}>
<div className='avatar-username__container'>
<div
className='avatar__container'
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/modal/auth/login-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const LoginTab = () => {
<h3>Login</h3>
<p>New here? <span onClick={() => setAuthTab(AuthTab.Signup)}>Create Account</span></p>
</div>
<form id='login' className='form__container' onSubmit={handleLoginSubmit}>
<form id='login-form' className='form__container' onSubmit={handleLoginSubmit}>
<div className='input__container'>
<p>Email or Username</p>
<input
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/modal/auth/signup-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const SignupTab: React.FC<RegisterDataProps> = ({ registerData, setRegisterData
<h3>Register</h3>
<p>Already have an account? <span onClick={() => setAuthTab(AuthTab.Login)}>Log In</span></p>
</div>
<form id='signup' className='form__container' onSubmit={handleNextTab}>
<form id='signup-form' className='form__container' onSubmit={handleNextTab}>
<div className='input__container'>
<p>Email</p>
<input
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/sidebar/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ const Explore: React.FC<ExploreProps> = ({ term }) => {
return (
<div id='explore'>
<form
id='explore'
id='explore-form'
className='explore-input'
onSubmit={handleSearch}
>
<div style={{ flex: '1' }}>
<input
id='search'
id='search-input'
ref={inputRef}
type='text'
placeholder='Explore...'
Expand Down

0 comments on commit 49b8cd4

Please sign in to comment.