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,
|
migrateCategories: includeCategories,
|
||||||
});
|
});
|
||||||
|
|
||||||
navigate(`/manga/${mangaIdToMigrateTo}`);
|
navigate(`/manga/${mangaIdToMigrateTo}`, { replace: true });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
setIsMigrationInProcess(false);
|
setIsMigrationInProcess(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user