Fix variable typo (#8084)

This commit is contained in:
Nam Vu 2024-09-08 12:14:11 +07:00 • committed by GitHub
commit 2d7954c7da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
215 changed files with 599 additions and 597 deletions

View file

@ -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>