Просмотр исходного кода

importing TopOfTableContents component in TableOfContents

kaoritokashiki 5 лет назад
Родитель
Сommit
a8a31df891
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/client/js/components/TableOfContents.jsx

+ 2 - 0
src/client/js/components/TableOfContents.jsx

@@ -7,6 +7,7 @@ import { withTranslation } from 'react-i18next';
 import PageContainer from '../services/PageContainer';
 
 import { withUnstatedContainers } from './UnstatedUtils';
+import TopOfTableContents from './TopOfTableContents';
 import StickyStretchableScroller from './StickyStretchableScroller';
 
 // eslint-disable-next-line no-unused-vars
@@ -34,6 +35,7 @@ const TableOfContents = (props) => {
   return (
     <>
       {/* TODO GW-3253 add four contents */}
+      <TopOfTableContents />
       <StickyStretchableScroller
         contentsElemSelector=".revision-toc .markdownIt-TOC"
         stickyElemSelector="#revision-toc"