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:
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user