diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/AccountSettings.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/AccountSettings.tsx
index 51eb653d..f260339d 100644
--- a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/AccountSettings.tsx
+++ b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/AccountSettings.tsx
@@ -1,5 +1,5 @@
'use client';
-import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card';
+import { Card, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card';
import { UpdateAvatarAndNameBody } from '@/components/UpdateAvatarAndName';
import {
updateUserProfileNameAndAvatar,
@@ -95,30 +95,29 @@ export function AccountSettings({
return (
Account Settings
Update your account settings here.
-
- mutate({ fullName, avatarUrl })}
- onFileUpload={(file: File) => upload(file)}
- userId={userProfile.id}
- userEmail={userEmail}
- isNewAvatarImageLoading={isNewAvatarImageLoading}
- setIsNewAvatarImageLoading={setIsNewAvatarImageLoading}
- isUploading={isUploading}
- isLoading={isLoading ?? isUploading}
- profileAvatarUrl={avatarUrl}
- profileFullname={userProfile.full_name ?? undefined}
- />
-
+ mutate({ fullName, avatarUrl })}
+ onFileUpload={(file: File) => upload(file)}
+ userId={userProfile.id}
+ userEmail={userEmail}
+ profileUserName={userProfile.user_name ?? undefined}
+ isNewAvatarImageLoading={isNewAvatarImageLoading}
+ setIsNewAvatarImageLoading={setIsNewAvatarImageLoading}
+ isUploading={isUploading}
+ isLoading={isLoading ?? isUploading}
+ profileAvatarUrl={avatarUrl}
+ profileFullname={userProfile.full_name ?? undefined}
+ />
-
+
Danger Zone
diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/UpdatePassword.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/UpdatePassword.tsx
index c3e0fab6..3063ce20 100644
--- a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/UpdatePassword.tsx
+++ b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/UpdatePassword.tsx
@@ -1,10 +1,10 @@
'use client';
import { Button } from '@/components/ui/button';
+import { CardContent, CardFooter } from '@/components/ui/card';
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import { updatePasswordAction } from '@/data/user/security';
import { useSAToastMutation } from '@/hooks/useSAToastMutation';
-import { classNames } from '@/utils/classNames';
import { useInput } from 'rooks';
export const UpdatePassword = () => {
@@ -31,8 +31,8 @@ export const UpdatePassword = () => {
);
return (
-
-
+ <>
+
@@ -42,26 +42,25 @@ export const UpdatePassword = () => {
name="password"
type="password"
autoComplete="password"
+ className='w-full'
required
{...passwordInput}
/>
+
+
-
-
+
+ >
);
};
diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/page.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/page.tsx
index b495485f..3d958ff6 100644
--- a/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/page.tsx
+++ b/src/app/(dynamic-pages)/(authenticated-pages)/(user-pages)/settings/security/page.tsx
@@ -1,14 +1,11 @@
-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
-import { Input } from '@/components/ui/input';
-import { Label } from '@/components/ui/label';
-import { T } from '@/components/ui/Typography';
+import { Card, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { serverGetLoggedInUser } from '@/utils/server/serverGetLoggedInUser';
import { UpdatePassword } from './UpdatePassword';
export default async function SecuritySettings() {
const user = await serverGetLoggedInUser();
return (
-
+
@@ -18,29 +15,9 @@ export default async function SecuritySettings() {
Update your email and password
-
-
-
-
-
-
-
- Email cannot be changed
-
-
-
-
+
+
+
);
diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/onboarding/OrganizationCreation.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/onboarding/OrganizationCreation.tsx
index b33480fa..c0819482 100644
--- a/src/app/(dynamic-pages)/(authenticated-pages)/onboarding/OrganizationCreation.tsx
+++ b/src/app/(dynamic-pages)/(authenticated-pages)/onboarding/OrganizationCreation.tsx
@@ -63,7 +63,7 @@ export function OrganizationCreation({ onSuccess }: OrganizationCreationProps) {
{errors.organizationTitle.message}
)}
-
+ {/*
{errors.organizationSlug.message}
)}
-
+
*/}