feat: update Titles in ContentsFormPage and ContentsPage for better context

This commit is contained in:
Ardeman 2025-03-07 13:53:07 +08:00
parent 5c716d7210
commit e0b68611bd
2 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ export const ContentsFormPage = (properties: TProperties) => {
return (
<div className="relative">
<TitleDashboard title="Buat Artikel" />
<TitleDashboard title={`${newsData ? 'Update' : 'Buat'} Artikel`} />
<RemixFormProvider {...formMethods}>
<fetcher.Form
method="post"

View File

@ -81,7 +81,7 @@ export const ContentsPage = () => {
className="text-md rounded-md"
size="sm"
>
Lihat Detail
Update Artikel
</Button>
),
}
@ -103,7 +103,7 @@ export const ContentsPage = () => {
className="text-md h-[42px] rounded-md"
size="lg"
>
Create New
Buat Artikel
</Button>
</div>