Fix tracker redirection on non logged in trackers

Incorrectly routed to the tracker oauth page which then just redirected to the tracker settings page.
This commit is contained in:
schroda
2025-08-04 21:53:04 +02:00
parent 063ec5ea83
commit 765799b236

View File

@@ -66,7 +66,7 @@ export const TrackManga = ({ manga }: { manga: MangaIdInfo & Pick<MangaType, 'ti
useEffect(() => { useEffect(() => {
if (!loading && !error && !trackersInUse.length && !loggedInTrackers.length) { if (!loading && !error && !trackersInUse.length && !loggedInTrackers.length) {
navigate(AppRoutes.tracker.path); navigate(AppRoutes.settings.childRoutes.tracking.path);
} }
}, [loading]); }, [loading]);