Skip to content

Commit

Permalink
fix(19058): add key to PagesDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
nattallius committed Aug 6, 2024
1 parent f5fd53d commit 98a58ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/router/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const routerConfig: AppRouterConfig = {
slug: 'terms',
title: i18n.t('modes.terms'),
icon: <Reports16 />,
view: <PagesDocument doc={[{ type: 'md', url: 'terms.md' }]} />,
view: <PagesDocument doc={[{ type: 'md', url: 'terms.md' }]} key="terms" />,
parentRouteId: 'about',
visibilityInNavigation: 'always',
requiredFeature: AppFeature.ABOUT_PAGE,
Expand All @@ -104,7 +104,7 @@ export const routerConfig: AppRouterConfig = {
slug: 'privacy',
title: i18n.t('modes.privacy'),
icon: <Reports16 />,
view: <PagesDocument doc={[{ type: 'md', url: 'privacy.md' }]} />,
view: <PagesDocument doc={[{ type: 'md', url: 'privacy.md' }]} key="privacy" />,
parentRouteId: 'about',
visibilityInNavigation: 'always',
requiredFeature: AppFeature.ABOUT_PAGE,
Expand All @@ -114,7 +114,7 @@ export const routerConfig: AppRouterConfig = {
slug: 'cookies',
title: 'modes.cookies',
icon: <Reports16 />,
view: <PagesDocument doc={[{ type: 'md', url: 'cookies.md' }]} />,
view: <PagesDocument doc={[{ type: 'md', url: 'cookies.md' }]} key="cookies" />,
parentRouteId: 'about',
visibilityInNavigation: 'never',
requiredFeature: AppFeature.ABOUT_PAGE,
Expand Down

0 comments on commit 98a58ef

Please sign in to comment.