mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
MISC: Improve exception alert (#1709)
This commit is contained in:
@@ -9,7 +9,7 @@ import { GameRoot } from "./GameRoot";
|
||||
|
||||
import { CONSTANTS } from "../Constants";
|
||||
import { ActivateRecoveryMode } from "./React/RecoveryRoot";
|
||||
import { hash } from "../hash/hash";
|
||||
import { commitHash } from "../utils/helpers/commitHash";
|
||||
import { pushGameReady } from "../Electron";
|
||||
import initSwc from "@swc/wasm-web";
|
||||
|
||||
@@ -17,7 +17,7 @@ export function LoadingScreen(): React.ReactElement {
|
||||
const [show, setShow] = useState(false);
|
||||
const [loaded, setLoaded] = useState(false);
|
||||
|
||||
const version = `v${CONSTANTS.VersionString} (${hash()})`;
|
||||
const version = `v${CONSTANTS.VersionString} (${commitHash()})`;
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
document.title = `[dev] Bitburner ${version}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user