-
Profile
-
This is how others will see you on the site.
+
Account
+
Update your account and profile settings.
diff --git a/apps/web/src/routes/(dashboard)/settings/account/+page.server.ts b/apps/web/src/routes/(dashboard)/settings/account/+page.server.ts
deleted file mode 100644
index 4366743..0000000
--- a/apps/web/src/routes/(dashboard)/settings/account/+page.server.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { superValidate } from 'sveltekit-superforms/server';
-import type { PageServerLoad } from './$types';
-import { accountFormSchema } from './account-form.svelte';
-import { fail, type Actions } from '@sveltejs/kit';
-
-export const load: PageServerLoad = async () => {
- return {
- form: await superValidate(accountFormSchema)
- };
-};
-
-export const actions: Actions = {
- default: async (event) => {
- const form = await superValidate(event, accountFormSchema);
- if (!form.valid) {
- return fail(400, {
- form
- });
- }
- return {
- form
- };
- }
-};
diff --git a/apps/web/src/routes/(dashboard)/settings/account/+page.svelte b/apps/web/src/routes/(dashboard)/settings/account/+page.svelte
deleted file mode 100644
index 7d80bab..0000000
--- a/apps/web/src/routes/(dashboard)/settings/account/+page.svelte
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
Account
-
- Update your account settings. Set your preferred language and timezone.
-
-
-
-
-
diff --git a/apps/web/src/routes/(dashboard)/settings/account/account-form.svelte b/apps/web/src/routes/(dashboard)/settings/account/account-form.svelte
deleted file mode 100644
index 3432e6e..0000000
--- a/apps/web/src/routes/(dashboard)/settings/account/account-form.svelte
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
- Name
-
-
- This is the name that will be displayed on your profile and in emails.
-
-
-
-
- Update account
-
diff --git a/apps/web/src/routes/(dashboard)/settings/profile-form.svelte b/apps/web/src/routes/(dashboard)/settings/profile-form.svelte
index d7ac350..247c5a3 100644
--- a/apps/web/src/routes/(dashboard)/settings/profile-form.svelte
+++ b/apps/web/src/routes/(dashboard)/settings/profile-form.svelte
@@ -1,6 +1,12 @@
@@ -17,9 +17,11 @@
-
-
-
+ {#key `/${data.url.split('/')[1]}`}
+
+
+
+ {/key}
{#if dev}