Refactor page layout in admin accounts component

The layout of the admin accounts component has been refactored. The "Accounts" heading has been removed from the 'admin-accounts-table.tsx' component and placed as a PageHeader in the 'page.tsx'. A description has also been added to the PageHeader, and the content was wrapped in a PageBody component for better structure and readability.
This commit is contained in:
giancarlo
2024-05-13 19:27:25 +07:00
parent 55e364aebd
commit 6ab4558691
2 changed files with 28 additions and 22 deletions

View File

@@ -100,8 +100,6 @@ function AccountsTableFilters(props: {
return (
<div className={'flex items-center justify-between space-x-4'}>
<Heading level={3}>Accounts</Heading>
<div className={'flex space-x-4'}>
<Form {...form}>
<form