mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
UI: Fix non-explicit GameRoot effect dependency (#2617)
This commit is contained in:
@@ -285,7 +285,7 @@ export function GameRoot(): React.ReactElement {
|
||||
|
||||
useEffect(() => {
|
||||
if (pageWithContext.page !== Page.Terminal) window.scrollTo(0, 0);
|
||||
});
|
||||
}, [pageWithContext.page]);
|
||||
|
||||
function softReset(): void {
|
||||
dialogBoxCreate("Soft Reset!");
|
||||
|
||||
Reference in New Issue
Block a user