#28 - exit full screen mode

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-14 22:49:04 +02:00
parent ee88c9e391
commit 4be91d7837
2 changed files with 64 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
import { Suspense } from 'react';
import { Fullscreen, FullscreenToggle } from '@/components/fullscreen-toggle';
import {
Fullscreen,
FullscreenClose,
FullscreenOpen,
} from '@/components/fullscreen-toggle';
import { LazyChart } from '@/components/report/chart/LazyChart';
import PageLayout from '../page-layout';
@@ -20,10 +24,11 @@ export default function Page({
return (
<>
<PageLayout
title={<FullscreenToggle />}
title={<FullscreenOpen />}
{...{ projectId, organizationSlug }}
/>
<Fullscreen>
<FullscreenClose />
<RealtimeReloader projectId={projectId} />
<Suspense>
<RealtimeMap projectId={projectId} />