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 ( return (
<div className="relative"> <div className="relative">
<TitleDashboard title="Buat Artikel" /> <TitleDashboard title={`${newsData ? 'Update' : 'Buat'} Artikel`} />
<RemixFormProvider {...formMethods}> <RemixFormProvider {...formMethods}>
<fetcher.Form <fetcher.Form
method="post" method="post"

View File

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