From cfe4195f7ef72b4fdf5a96171ad511f7a124e372 Mon Sep 17 00:00:00 2001 From: Innei Date: Mon, 8 Apr 2024 16:13:52 +0800 Subject: [PATCH] fix: add `peek` to global Signed-off-by: Innei --- src/providers/root/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/providers/root/index.tsx b/src/providers/root/index.tsx index 5e2d0431b8..4199a863a4 100644 --- a/src/providers/root/index.tsx +++ b/src/providers/root/index.tsx @@ -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' @@ -44,6 +45,8 @@ export function WebAppProviders({ children }: PropsWithChildren) { {/* */} + + ) } @@ -59,7 +62,7 @@ export function DashboardAppProviders({ children }: PropsWithChildren) { - + {/* */} )