From 8abf2af212d19f8994f69045f47061b6acb0c9b2 Mon Sep 17 00:00:00 2001 From: ajnart Date: Sun, 7 Aug 2022 12:14:37 +0200 Subject: [PATCH] :zap: Add ModalsProvider to the App --- src/pages/_app.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index d22a65538..538390309 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -6,6 +6,7 @@ import Head from 'next/head'; import { MantineProvider, ColorScheme, ColorSchemeProvider, MantineTheme } from '@mantine/core'; import { NotificationsProvider } from '@mantine/notifications'; import { useHotkeys } from '@mantine/hooks'; +import { ModalsProvider } from '@mantine/modals'; import { ConfigProvider } from '../tools/state'; import { theme } from '../tools/theme'; import { styles } from '../tools/styles'; @@ -56,9 +57,11 @@ export default function App(this: any, props: AppProps & { colorScheme: ColorSch withNormalizeCSS > - - - + + + + +