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

@@ -193,7 +193,7 @@ const SourceSearchPreview = React.memo(
<Card sx={{ mb: 1 }}>
<CardActionArea
component={Link}
to={AppRoutes.sources.childRoutes.browse.path(id, searchString)}
to={AppRoutes.sources.children.browse.path(id, searchString)}
sx={{ p: 1, display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}
>
<Box>
@@ -376,7 +376,7 @@ export const SearchAll = ({
replace: true,
state: {
...state,
...AppRoutes.sources.childRoutes.searchAll.state({
...AppRoutes.sources.children.searchAll.state({
shouldShowOnlyPinnedSources: true,
}),
},
@@ -399,7 +399,7 @@ export const SearchAll = ({
replace: true,
state: {
...state,
...AppRoutes.sources.childRoutes.searchAll.state({
...AppRoutes.sources.children.searchAll.state({
shouldShowOnlyPinnedSources: false,
}),
},