From fcf7a39aecfbbe04973921c068ff174445196f2e Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Mon, 27 Jan 2025 15:09:58 +0300 Subject: [PATCH] remove page-header from main pages --- apps/web/app/(main)/contacts/page.tsx | 4 +--- apps/web/app/(main)/profile/page.tsx | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/web/app/(main)/contacts/page.tsx b/apps/web/app/(main)/contacts/page.tsx index 2048f87..189951a 100644 --- a/apps/web/app/(main)/contacts/page.tsx +++ b/apps/web/app/(main)/contacts/page.tsx @@ -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 ( -
-
+

Контакты

diff --git a/apps/web/app/(main)/profile/page.tsx b/apps/web/app/(main)/profile/page.tsx index 72e89cb..1fbf2a9 100644 --- a/apps/web/app/(main)/profile/page.tsx +++ b/apps/web/app/(main)/profile/page.tsx @@ -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 ( - );