remove page-header from main pages
This commit is contained in:
parent
fed597229f
commit
fcf7a39aec
@ -1,14 +1,12 @@
|
||||
import { ContactsList } from '@/components/contacts/contacts-list';
|
||||
import { ContactsFilter } from '@/components/contacts/dropdown-filter';
|
||||
import { PageHeader } from '@/components/navigation';
|
||||
import { ContactsFilterProvider } from '@/context/contacts-filter';
|
||||
|
||||
export default function ContactsPage() {
|
||||
return (
|
||||
<ContactsFilterProvider>
|
||||
<PageHeader title="Контакты" />
|
||||
<div className="sticky top-0 z-50 flex flex-row items-center justify-between space-x-4 bg-background p-4">
|
||||
<div />
|
||||
<h1 className="text-2xl font-bold">Контакты</h1>
|
||||
<ContactsFilter />
|
||||
</div>
|
||||
<div className="bg-background p-4 pt-0">
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import { getProfile } from '@/actions/profile';
|
||||
import { PageHeader } from '@/components/navigation';
|
||||
import { ProfileCard } from '@/components/profile/profile-card';
|
||||
import { dehydrate, HydrationBoundary, QueryClient } from '@tanstack/react-query';
|
||||
|
||||
@ -13,7 +12,6 @@ export default async function ProfilePage() {
|
||||
|
||||
return (
|
||||
<HydrationBoundary state={dehydrate(queryClient)}>
|
||||
<PageHeader title="Профиль" />
|
||||
<ProfileCard />
|
||||
</HydrationBoundary>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user