mirror of
https://github.com/ragestudio/vessel.git
synced 2025-06-08 18:14:17 +00:00
remove built in history
This commit is contained in:
parent
11d508b6b9
commit
bab0be8768
@ -19,7 +19,6 @@
|
||||
"@loadable/component": "^5.16.4",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"comlink": "^4.4.1",
|
||||
"history": "^5.3.0",
|
||||
"less": "^4.2.0",
|
||||
"localforage": "^1.10.0",
|
||||
"million": "^3.1.11",
|
||||
|
@ -6,7 +6,6 @@ import React from "react"
|
||||
window.React = React
|
||||
import { createRoot } from "react-dom/client"
|
||||
|
||||
import { createBrowserHistory } from "history"
|
||||
import { Observable } from "object-observer"
|
||||
|
||||
import CoresManager from "./classes/CoresManager"
|
||||
@ -44,7 +43,6 @@ export default class Runtime {
|
||||
namespace: "Runtime",
|
||||
bgColor: "bgMagenta",
|
||||
})
|
||||
history = createBrowserHistory()
|
||||
eventBus = new EventBus({
|
||||
id: "runtime",
|
||||
})
|
||||
@ -114,7 +112,6 @@ export default class Runtime {
|
||||
document.getElementById(this.params.renderMount ?? "root"),
|
||||
)
|
||||
|
||||
this.registerPublicField("history", this.history)
|
||||
this.registerPublicField("eventBus", this.eventBus)
|
||||
this.registerPublicField("isMobile", isMobile())
|
||||
this.registerPublicField("__version", pkgJson.version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user