Skip to content

Commit

Permalink
Fix Settings.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Aug 16, 2024
1 parent b69b069 commit b7fa2bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions backend/src/pages/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ const Settings = () => {

return _phoneValid
}
setPhoneValid(true)
setPhoneValid(true)

return true
return true
}

const handlePhoneChange = (e: React.ChangeEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -192,7 +192,7 @@ const Settings = () => {
<Input id="bio" type="text" onChange={handleBioChange} autoComplete="off" value={bio} />
</FormControl>
<div className="buttons">
<Button type="submit" variant="contained" className="btn-primary btn-margin btn-margin-bottom" size="small" href="/change-password">
<Button variant="contained" className="btn-primary btn-margin btn-margin-bottom" size="small" href="/change-password">
{commonStrings.RESET_PASSWORD}
</Button>
<Button type="submit" variant="contained" className="btn-primary btn-margin-bottom" size="small">
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ const Settings = () => {
</FormControl>
<div className="buttons">
<Button
type="submit"
variant="contained"
className="btn-primary btn-margin btn-margin-bottom"
size="small"
Expand Down

0 comments on commit b7fa2bd

Please sign in to comment.