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 (
|
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"
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user