Skip to content

Commit

Permalink
fix: add peek to global
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 8, 2024
1 parent e39a1c9 commit cfe4195
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/root/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { LazyMotion } from 'framer-motion'
import { ThemeProvider } from 'next-themes'
import type { PropsWithChildren } from 'react'

import { PeekPortal } from '~/components/modules/peek/PeekPortal'
import { ModalStackProvider } from '~/components/ui/modal'
import { useBeforeUnload } from '~/hooks/common/use-before-unload'

Expand Down Expand Up @@ -44,6 +45,8 @@ export function WebAppProviders({ children }: PropsWithChildren) {
{/* <SentryProvider key="SentryProvider" /> */}
<PageScrollInfoProvider key="PageScrollInfoProvider" />
<DebugProvider key="debugProvider" />

<PeekPortal />
</ProviderComposer>
)
}
Expand All @@ -59,7 +62,7 @@ export function DashboardAppProviders({ children }: PropsWithChildren) {

<ModalStackProvider key="modalStackProvider" />
<EventProvider key="viewportProvider" />

<PeekPortal />
{/* <DebugProvider key="debugProvider" /> */}
</ProviderComposer>
)
Expand Down

0 comments on commit cfe4195

Please sign in to comment.