Remove search page from the history after migrating (#654)
This commit is contained in:
@@ -49,7 +49,7 @@ export const MigrateDialog = ({ mangaIdToMigrateTo, onClose }: { mangaIdToMigrat
|
||||
migrateCategories: includeCategories,
|
||||
});
|
||||
|
||||
navigate(`/manga/${mangaIdToMigrateTo}`);
|
||||
navigate(`/manga/${mangaIdToMigrateTo}`, { replace: true });
|
||||
} catch (e) {
|
||||
setIsMigrationInProcess(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user