UI: Correct behavior of "back" button on faction augs page

Plus router refactoring
This commit is contained in:
Aleksei Bezrodnov
2023-06-26 10:24:37 +02:00
committed by GitHub
parent 9a0a843ffc
commit 1af01401d9
20 changed files with 173 additions and 201 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
function compareSaveGame(): void {
if (!importData) return;
Router.toImportSave(importData.base64);
Router.toPage(Page.ImportSave, { base64Save: importData.base64 });
setImportSaveOpen(false);
setImportData(null);
}