Skip to content

Commit

Permalink
feat: show message nots across app
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Nov 14, 2024
1 parent c40b602 commit 980905f
Show file tree
Hide file tree
Showing 20 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/app/(events)/(access)/(layout)/contacts/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Contacts } from '@/views/contacts/Contacts';

export default function Page() {
return <Contacts />;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { cookies } from 'next/headers';

import { EventHandler } from '@/components/events/Events';
import { Contacts } from '@/views/contacts/Contacts';

export default function Page() {
export default function Layout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const eventsUrl = process.env.EVENTS_URL;

const cookieStore = cookies();
Expand All @@ -14,7 +17,7 @@ export default function Page() {
{accessToken && eventsUrl ? (
<EventHandler accessToken={accessToken} eventsUrl={eventsUrl} />
) : null}
<Contacts />
{children}
</>
);
}

0 comments on commit 980905f

Please sign in to comment.