Skip to content

Commit

Permalink
[docs] Fix typo (#3368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzyew committed Jan 14, 2023
1 parent efa6361 commit 4a81ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/docs/guides/gatsby.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import React from 'react';
import { renderToString } from 'react-dom/server';
import { createStylesServer, ServerStyles } from '@mantine/ssr';

// optional: you can provide your cache as a fist argument in createStylesServer function
// optional: you can provide your cache as a first argument in createStylesServer function
const stylesServer = createStylesServer();

export const replaceRenderer = ({ bodyComponent, replaceBodyHTMLString, setHeadComponents }) => {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/docs/guides/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ for that you will need to setup Mantine ssr styles extraction on your side:
import Document, { DocumentContext } from 'next/document';
import { ServerStyles, createStylesServer } from '@mantine/next';

// optional: you can provide your cache as a fist argument in createStylesServer function
// optional: you can provide your cache as a first argument in createStylesServer function
const stylesServer = createStylesServer();

export default class _Document extends Document {
Expand Down

0 comments on commit 4a81ed2

Please sign in to comment.