Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 716 Bytes
import "bulma/css/bulma.css"
import "font-awesome/css/font-awesome.css"
import "./index.css"
import * as React from "react"
import { render } from "react-dom"
import { Provider } from "mobx-react"
import { App } from "./views/App"
import { Store } from "./Store"
function main() {
const store = new Store()
store.init()
if (process.env.NODE_ENV === "development") {
Object.assign(window, {
store,
})
// store.transferEvents.push(require("./mock/transferLog").default)
// store.txRecords.push(require("./mock/txRecord").default)
}
render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById("root"))
}
window.addEventListener("load", main)
You can’t perform that action at this time.