This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/gatsby-ssr.tsx

7 lines
190 B
TypeScript
Raw Normal View History

2020-06-27 22:00:00 +00:00
import * as React from 'react';
import MDXProvider from './src/components/markdown/MDXProvider';
export const wrapRootElement = ({ element }) => (
<MDXProvider>{element}</MDXProvider>
);