Skip to content

Commit

Permalink
[docs] Update Remix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Sep 6, 2022
1 parent 6eb8e27 commit e267c1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/docs/guides/remix.mdx
Expand Up @@ -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';

Expand All @@ -71,6 +71,8 @@ export const meta: MetaFunction = () => ({
viewport: 'width=device-width,initial-scale=1',
});

createEmotionCache({ key: 'mantine' });

export default function App() {
return (
<MantineProvider theme={theme} withGlobalStyles withNormalizeCSS>
Expand Down

0 comments on commit e267c1d

Please sign in to comment.