Rename "childRoutes" to "children"
This commit is contained in:
@@ -65,7 +65,7 @@ export const TrackManga = ({ manga }: { manga: MangaIdInfo & MangaTitleInfo }) =
|
||||
|
||||
useEffect(() => {
|
||||
if (!loading && !error && !trackersInUse.length && !loggedInTrackers.length) {
|
||||
navigate(AppRoutes.settings.childRoutes.tracking.path);
|
||||
navigate(AppRoutes.settings.children.tracking.path);
|
||||
}
|
||||
}, [loading]);
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ export const TrackerOAuthLogin = () => {
|
||||
makeToast(t`Could not log in to ${trackerName}`, 'error', getErrorMessage(e));
|
||||
}
|
||||
|
||||
navigate(AppRoutes.settings.childRoutes.tracking.path, { replace: true });
|
||||
navigate(AppRoutes.settings.children.tracking.path, { replace: true });
|
||||
};
|
||||
|
||||
login();
|
||||
|
||||
Reference in New Issue
Block a user