Fix variable typo (#8084)
This commit is contained in:
parent
b1918dae5e
commit
2d7954c7da
215 changed files with 599 additions and 597 deletions
|
|
@ -90,7 +90,7 @@ export default function AccountPage() {
|
|||
setPassword('')
|
||||
setConfirmPassword('')
|
||||
}
|
||||
const handleSavePassowrd = async () => {
|
||||
const handleSavePassword = async () => {
|
||||
if (!valid())
|
||||
return
|
||||
try {
|
||||
|
|
@ -235,7 +235,7 @@ export default function AccountPage() {
|
|||
<Button
|
||||
disabled={editing}
|
||||
variant='primary'
|
||||
onClick={handleSavePassowrd}
|
||||
onClick={handleSavePassword}
|
||||
>
|
||||
{userProfile.is_password_set ? t('common.operation.reset') : t('common.operation.save')}
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue