Refactor: rename account-form to settings-form and update translations

This commit is contained in:
Knee Cola
2025-11-18 12:33:24 +01:00
parent 6b5fb6c44d
commit b03f0574cd
5 changed files with 11 additions and 11 deletions

View File

@@ -107,7 +107,7 @@ export const getUserProfile = withUser(async (user: AuthenticatedUser) => {
export const updateUserProfile = withUser(async (user: AuthenticatedUser, prevState: State, formData: FormData) => {
noStore();
const t = await getTranslations("account-form.validation");
const t = await getTranslations("settings-form.validation");
const validatedFields = FormSchema(t).safeParse({
firstName: formData.get('firstName') || undefined,