diff --git a/packages/wallet/frontend/src/components/settings/ChangePasswordForm.tsx b/packages/wallet/frontend/src/components/settings/ChangePasswordForm.tsx
index 53c390958..e3ba04c27 100644
--- a/packages/wallet/frontend/src/components/settings/ChangePasswordForm.tsx
+++ b/packages/wallet/frontend/src/components/settings/ChangePasswordForm.tsx
@@ -94,7 +94,7 @@ export const ChangePasswordForm = () => {
/>
{isCurrentPasswordVisible ? : }
@@ -109,7 +109,7 @@ export const ChangePasswordForm = () => {
/>
{isNewPasswordVisible ? : }
@@ -126,7 +126,7 @@ export const ChangePasswordForm = () => {
/>
{isConfirmNewPasswordVisible ? : }
diff --git a/packages/wallet/frontend/src/components/settings/PersonalSettingsForm.tsx b/packages/wallet/frontend/src/components/settings/PersonalSettingsForm.tsx
index 3ebfe2936..b35a7f11c 100644
--- a/packages/wallet/frontend/src/components/settings/PersonalSettingsForm.tsx
+++ b/packages/wallet/frontend/src/components/settings/PersonalSettingsForm.tsx
@@ -1,12 +1,5 @@
import { Button } from '@/ui/Button'
-import { Form } from '@/ui/forms/Form'
-import { useZodForm } from '@/lib/hooks/useZodForm'
import { Input } from '@/ui/forms/Input'
-import { useEffect, useState } from 'react'
-import { profileSchema, userService } from '@/lib/api/user'
-import { useDialog } from '@/lib/hooks/useDialog'
-import { ErrorDialog } from '../dialogs/ErrorDialog'
-import { getObjectKeys } from '@/utils/helpers'
import { ChangePasswordForm } from './ChangePasswordForm'
import { usePasswordContext } from '@/lib/context/password'
import { UserResponse } from '@wallet/shared'
@@ -17,124 +10,30 @@ type PersonalSettingsFormProps = {
// TODO: Can these details be updated by the user when switching to GateHub?
export const PersonalSettingsForm = ({ user }: PersonalSettingsFormProps) => {
- const [isReadOnly, setIsReadOnly] = useState(true)
const { isChangePassword, setIsChangePassword } = usePasswordContext()
- const [openDialog, closeDialog] = useDialog()
- const profileForm = useZodForm({
- schema: profileSchema,
- defaultValues: user
- })
-
- useEffect(() => {
- profileForm.setFocus('firstName')
- }, [isReadOnly, profileForm])
return (
<>
-
Profile
+ Details
-