mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
14 lines
391 B
TypeScript
14 lines
391 B
TypeScript
import * as React from 'react'
|
|
import * as ReactDOM from 'react-dom'
|
|
import Gitako from 'components/Gitako'
|
|
import { addMiddleware } from 'driver/connect'
|
|
import { withErrorLog } from 'analytics'
|
|
|
|
import './content.less'
|
|
|
|
addMiddleware(withErrorLog)
|
|
|
|
const SideBarElement = document.createElement('div')
|
|
document.body.appendChild(SideBarElement)
|
|
|
|
ReactDOM.render(<Gitako />, SideBarElement)
|