diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-05 21:55:28 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-05 21:55:28 +0800 |
commit | fa6bd348992674192d07fef3d60950980212ecbb (patch) | |
tree | 7b8fb8323c972291ddb1c77bc45f73bf39a8f805 /packages/website/ts/pages/wiki | |
parent | 5f2cd33da07a7acc65f2e05acb35755f74af75a4 (diff) | |
download | dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar.gz dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar.bz2 dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar.lz dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar.xz dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.tar.zst dexon-0x-contracts-fa6bd348992674192d07fef3d60950980212ecbb.zip |
Remove type prop and instead infer it from the value of to
Diffstat (limited to 'packages/website/ts/pages/wiki')
-rw-r--r-- | packages/website/ts/pages/wiki/wiki.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx index 230fff410..70f54aceb 100644 --- a/packages/website/ts/pages/wiki/wiki.tsx +++ b/packages/website/ts/pages/wiki/wiki.tsx @@ -3,7 +3,6 @@ import { colors, constants as sharedConstants, HeaderSizes, - LinkType, MarkdownSection, NestedSidebarMenu, Styles, @@ -234,7 +233,6 @@ export class Wiki extends React.Component<WikiProps, WikiState> { return { to: sharedUtils.getIdFromName(article.title), title: article.title, - type: LinkType.ReactScroll, }; }); sectionNameToLinks[sectionName] = articleLinks; |