Better error on fail to import save

This commit is contained in:
omuretsu 2023-01-05 13:04:26 -05:00
parent 494bc25794
commit 237f9037bf

@ -73,6 +73,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
setImportData(data);
setImportSaveOpen(true);
} catch (e: unknown) {
console.error(e);
SnackbarEvents.emit(String(e), ToastVariant.ERROR, 5000);
}
}