Remove search page from the history after migrating (#654)

This commit is contained in:
schroda
2024-03-16 13:45:47 +01:00
committed by GitHub
parent c005316f56
commit 31d53ed182

View File

@@ -49,7 +49,7 @@ export const MigrateDialog = ({ mangaIdToMigrateTo, onClose }: { mangaIdToMigrat
migrateCategories: includeCategories,
});
navigate(`/manga/${mangaIdToMigrateTo}`);
navigate(`/manga/${mangaIdToMigrateTo}`, { replace: true });
} catch (e) {
setIsMigrationInProcess(false);
}