mirror of
https://github.com/primer/css.git
synced 2024-12-29 09:06:07 +03:00
nix DocumentContext
This commit is contained in:
parent
87aaf87e39
commit
d8369214da
@ -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" />)
|
||||
|
Loading…
Reference in New Issue
Block a user