From 39b77201862a0c5f044de41bba769daded4524ad Mon Sep 17 00:00:00 2001 From: Ardeman Date: Tue, 25 Mar 2025 01:00:57 +0800 Subject: [PATCH] fix: correct spelling of 'Staff' to 'Staf' and 'Tags' to 'Tag' in various components --- app/layouts/admin/menu.ts | 2 +- app/pages/dashboard-staffs/index.tsx | 4 ++-- app/pages/dashboard-tags/index.tsx | 4 ++-- app/pages/dashboard-users/index.tsx | 4 ++-- app/pages/form-staff/index.tsx | 14 +++++++------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/layouts/admin/menu.ts b/app/layouts/admin/menu.ts index 5f4d568..c48cbd4 100644 --- a/app/layouts/admin/menu.ts +++ b/app/layouts/admin/menu.ts @@ -70,7 +70,7 @@ export const MENU: TMenu[] = [ icon: DocumentCurrencyDollarIcon, }, { - title: 'Staff', + title: 'Staf', url: '/lg-admin/staffs', icon: BriefcaseIcon, }, diff --git a/app/pages/dashboard-staffs/index.tsx b/app/pages/dashboard-staffs/index.tsx index 146b17a..2aed5cd 100644 --- a/app/pages/dashboard-staffs/index.tsx +++ b/app/pages/dashboard-staffs/index.tsx @@ -65,7 +65,7 @@ export const StaffsPage = () => { return (
- +
{/* TODO: Filter */}
diff --git a/app/pages/dashboard-tags/index.tsx b/app/pages/dashboard-tags/index.tsx index be75f83..7646bd3 100644 --- a/app/pages/dashboard-tags/index.tsx +++ b/app/pages/dashboard-tags/index.tsx @@ -88,7 +88,7 @@ export const TagsPage = () => { }) return (
- +
{ columns={dataColumns} options={dataOptions} slots={dataSlot} - title="Daftar Tags" + title="Daftar Tag" /> { return (
- +
{/* TODO: Filter */}
@@ -80,7 +80,7 @@ export const UsersPage = () => { data={dataTable || []} columns={dataColumns} slots={dataSlot} - title="Daftar Users" + title="Daftar User" />
) diff --git a/app/pages/form-staff/index.tsx b/app/pages/form-staff/index.tsx index b0ddbfe..b20487e 100644 --- a/app/pages/form-staff/index.tsx +++ b/app/pages/form-staff/index.tsx @@ -15,11 +15,11 @@ export const staffSchema = z profile_picture: z .string() .url({ - message: 'Profile picture must be a valid URL', + message: 'Gambar profil must be a valid URL', }) .or(z.literal('')), name: z.string().min(1, { - message: 'Nama staff is required', + message: 'Nama staf is required', }), password: z.string().min(6, 'Kata sandi minimal 6 karakter'), rePassword: z.string().min(6, 'Kata sandi minimal 6 karakter'), @@ -56,7 +56,7 @@ export const FormStaffPage = () => { return (
- +
{
{ />