From 5c4713bfdc563be5ba7d1f42a2b7c7ba7f4e8dd9 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Wed, 8 Nov 2023 13:41:36 -0500 Subject: [PATCH] Use component override --- app/scripts/components/stories/hub/index.tsx | 10 +++++----- app/scripts/utils/routes.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/scripts/components/stories/hub/index.tsx b/app/scripts/components/stories/hub/index.tsx index c158b62dd..b7b68e9e2 100644 --- a/app/scripts/components/stories/hub/index.tsx +++ b/app/scripts/components/stories/hub/index.tsx @@ -46,7 +46,7 @@ import { TAXONOMY_TOPICS } from '$utils/veda-data'; -import { ContentOverride } from '$components/common/page-overrides'; +import { ComponentOverride } from '$components/common/page-overrides'; const allStories = Object.values(stories).map((d) => d!.data); @@ -165,15 +165,15 @@ function StoriesHub() { title={getString('stories').other} description={getString('storiesBanner').other} /> - + - + - + )} - + ); } diff --git a/app/scripts/utils/routes.ts b/app/scripts/utils/routes.ts index 09fc08d67..345182e8b 100644 --- a/app/scripts/utils/routes.ts +++ b/app/scripts/utils/routes.ts @@ -1,7 +1,7 @@ import { DatasetData, StoryData } from 'veda'; export const ABOUT_PATH = '/about'; -export const STORIES_PATH = `/stories`; +export const STORIES_PATH = '/stories'; export const DATASETS_PATH = '/data-catalog'; export const ANALYSIS_PATH = '/analysis'; export const ANALYSIS_RESULTS_PATH = '/analysis/results';