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

@@ -63,8 +63,8 @@ export const SourceCard: React.FC<IProps> = (props: IProps) => {
<Card>
<CardActionArea
component={Link}
to={AppRoutes.sources.childRoutes.browse.path(id)}
state={AppRoutes.sources.childRoutes.browse.state({
to={AppRoutes.sources.children.browse.path(id)}
state={AppRoutes.sources.children.browse.state({
contentType: SourceContentType.POPULAR,
clearCache: true,
})}
@@ -105,8 +105,8 @@ export const SourceCard: React.FC<IProps> = (props: IProps) => {
{...MUIUtil.preventRippleProp()}
variant="outlined"
component={Link}
to={AppRoutes.sources.childRoutes.browse.path(id)}
state={AppRoutes.sources.childRoutes.browse.state({
to={AppRoutes.sources.children.browse.path(id)}
state={AppRoutes.sources.children.browse.state({
contentType: SourceContentType.LATEST,
clearCache: true,
})}