import React, { useMemo } from 'react'; import { useTranslation } from 'next-i18next'; import CustomNavAndContents from './CustomNavigation/CustomNavAndContents'; import { DescendantsPageList } from './DescendantsPageList'; import { PageTimeline } from './PageTimeline'; type NotFoundPageProps = { path: string, } const NotFoundPage = (props: NotFoundPageProps): JSX.Element => { const { t } = useTranslation(); const { path } = props; const navTabMapping = useMemo(() => { return { pagelist: { Icon: () => subject, Content: () => , i18n: t('page_list'), }, timeLine: { Icon: () => timeline, Content: PageTimeline, i18n: t('Timeline View'), }, }; }, [path, t]); return (
); }; export default NotFoundPage;