Rename "childRoutes" to "children"

This commit is contained in:
schroda
2026-05-28 00:01:54 +02:00
parent e973872539
commit 27c87185b1
24 changed files with 85 additions and 106 deletions

View File

@@ -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]);

View File

@@ -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();