Created
November 25, 2020 23:09
-
-
Save kenakingkong/04b55019b96db5ea87b2c5e671a01577 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react" | |
import { MediaContextProvider } from "./src/media" | |
export const wrapRootElement = ({ element }) => ( | |
<MediaContextProvider>{element}</MediaContextProvider> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment