fix: correct spelling of 'Staff' to 'Staf' and 'Tags' to 'Tag' in various components
This commit is contained in:
@@ -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 (
|
||||
<div className="relative">
|
||||
<TitleDashboard title={`Buat Staff`} />
|
||||
<TitleDashboard title={`Buat Staf`} />
|
||||
<div>
|
||||
<RemixFormProvider {...formMethods}>
|
||||
<fetcher.Form
|
||||
@@ -68,8 +68,8 @@ export const FormStaffPage = () => {
|
||||
<div className="flex items-end justify-between gap-4">
|
||||
<Input
|
||||
id="name"
|
||||
label="Nama Staff"
|
||||
placeholder="Masukkan Url Link"
|
||||
label="Nama Staf"
|
||||
placeholder="Masukkan nama staf"
|
||||
name="name"
|
||||
className="border-0 bg-white shadow read-only:bg-gray-100 focus:ring-1 focus:ring-[#2E2F7C] focus:outline-none disabled:bg-gray-100"
|
||||
labelClassName="text-sm font-medium text-[#363636]"
|
||||
@@ -117,8 +117,8 @@ export const FormStaffPage = () => {
|
||||
/>
|
||||
<InputFile
|
||||
id="profile_picture"
|
||||
label="Profile Picture"
|
||||
placeholder="Upload your profile picture"
|
||||
label="Gambar Profil"
|
||||
placeholder="Unggah gambar profil Anda"
|
||||
name="profile_picture"
|
||||
className="border-0 bg-white shadow read-only:bg-gray-100 focus:ring-1 focus:ring-[#2E2F7C] focus:outline-none disabled:bg-gray-100"
|
||||
labelClassName="text-sm font-medium text-[#363636]"
|
||||
|
||||
Reference in New Issue
Block a user