From e267c1dfa4356566ad70b47cde9aa008ec7ff991 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 6 Sep 2022 19:47:30 +0400 Subject: [PATCH] [docs] Update Remix docs --- docs/src/docs/guides/remix.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/docs/guides/remix.mdx b/docs/src/docs/guides/remix.mdx index 9684549db37..c78b971cf4f 100644 --- a/docs/src/docs/guides/remix.mdx +++ b/docs/src/docs/guides/remix.mdx @@ -61,7 +61,7 @@ Add [MantineProvider](/theming/mantine-provider/) and `StylesPlaceholder` to the ```tsx import type { MetaFunction } from '@remix-run/node'; import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/react'; -import { MantineProvider } from '@mantine/core'; +import { MantineProvider, createEmotionCache } from '@mantine/core'; import { StylesPlaceholder } from '@mantine/remix'; import { theme } from './theme'; @@ -71,6 +71,8 @@ export const meta: MetaFunction = () => ({ viewport: 'width=device-width,initial-scale=1', }); +createEmotionCache({ key: 'mantine' }); + export default function App() { return (