Skip to content

Commit

Permalink
chore(docs): Add missing React import
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 28, 2022
1 parent 263802c commit 3b42386
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/how-to/styling/using-local-fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The `static` folder (see the [Using the Static Folder](/docs/how-to/images-and-m
For the best performance possible it's recommended to [preload](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload) your font files. Add a `gatsby-ssr.js` if not existent yet and add the following:

```js:title=gatsby-ssr.js
import * as React from "react"

export const onRenderBody = ({ setHeadComponents }) => {
setHeadComponents([
Expand Down

0 comments on commit 3b42386

Please sign in to comment.