feat: update Titles in ContentsFormPage and ContentsPage for better context
This commit is contained in:
parent
5c716d7210
commit
e0b68611bd
@ -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"
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user