diff options
Diffstat (limited to 'web/source/settings/views/user/profile/profile.tsx')
| -rw-r--r-- | web/source/settings/views/user/profile/profile.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/source/settings/views/user/profile/profile.tsx b/web/source/settings/views/user/profile/profile.tsx index 6b59b7916..0c2e1f32a 100644 --- a/web/source/settings/views/user/profile/profile.tsx +++ b/web/source/settings/views/user/profile/profile.tsx @@ -184,6 +184,7 @@ function ProfileForm({ data: profile }: ProfileFormProps) { tabIndex={0} disabled={noHeader} result={deleteHeaderRes} + submit={false} onClick={(e) => { e.preventDefault(); deleteHeader().then(res => { @@ -215,6 +216,7 @@ function ProfileForm({ data: profile }: ProfileFormProps) { tabIndex={0} disabled={noAvatar} result={deleteAvatarRes} + submit={false} onClick={(e) => { e.preventDefault(); deleteAvatar().then(res => { |
