1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 09:06:07 +03:00

nix DocumentContext

This commit is contained in:
Shawn Allen 2019-01-15 22:06:12 -08:00
parent 87aaf87e39
commit d8369214da

View File

@ -2,12 +2,6 @@ import Router from 'next/router'
import getConfig from 'next/config'
import TreeModel from 'tree-model'
export const DocumentContext = React.createContext({
_documentProps: {
files: []
}
})
export const CommonStyles = () => {
const sheets = [getAssetPath('github/styleguide.css')]
return sheets.map(href => <link href={href} rel="stylesheet" />)