remove built in history

This commit is contained in:
SrGooglo 2025-06-04 15:30:51 +00:00
parent 11d508b6b9
commit bab0be8768
2 changed files with 0 additions and 4 deletions

View File

@ -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",

View File

@ -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)