diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-07 03:39:21 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-07 03:39:21 +0800 |
commit | 1a89905ab9602ccd81c5702bcc13246cd1f6960b (patch) | |
tree | db6045266976c60f78224a8974616bbe1432b786 | |
parent | b2b3c24fd231fd78b4af167ff0823d846e8859b4 (diff) | |
download | dexon-sol-tools-1a89905ab9602ccd81c5702bcc13246cd1f6960b.tar.gz dexon-sol-tools-1a89905ab9602ccd81c5702bcc13246cd1f6960b.tar.zst dexon-sol-tools-1a89905ab9602ccd81c5702bcc13246cd1f6960b.zip |
Remove hash spy for now
-rw-r--r-- | packages/react-docs/src/components/type.tsx | 1 | ||||
-rw-r--r-- | packages/react-shared/src/components/anchor_title.tsx | 1 | ||||
-rw-r--r-- | packages/react-shared/src/components/nested_sidebar_menu.tsx | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/packages/react-docs/src/components/type.tsx b/packages/react-docs/src/components/type.tsx index 1c580caab..7e96f75c3 100644 --- a/packages/react-docs/src/components/type.tsx +++ b/packages/react-docs/src/components/type.tsx @@ -204,7 +204,6 @@ export function Type(props: TypeProps): any { <ScrollLink to={typeDefinitionAnchorId} offset={0} - hashSpy={true} duration={sharedConstants.DOCS_SCROLL_DURATION_MS} containerId={sharedConstants.DOCS_CONTAINER_ID} > diff --git a/packages/react-shared/src/components/anchor_title.tsx b/packages/react-shared/src/components/anchor_title.tsx index 451ba1729..01857aa6b 100644 --- a/packages/react-shared/src/components/anchor_title.tsx +++ b/packages/react-shared/src/components/anchor_title.tsx @@ -69,7 +69,6 @@ export class AnchorTitle extends React.Component<AnchorTitleProps, AnchorTitleSt </div> <ScrollLink to={this.props.id} - hashSpy={true} offset={headerSizeToScrollOffset[this.props.headerSize]} duration={constants.DOCS_SCROLL_DURATION_MS} containerId={constants.DOCS_CONTAINER_ID} diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx index c8bddb59a..aef56690f 100644 --- a/packages/react-shared/src/components/nested_sidebar_menu.tsx +++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx @@ -94,7 +94,6 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N key={`menuItem-${menuItemName}`} to={id} offset={0} - hashSpy={true} duration={constants.DOCS_SCROLL_DURATION_MS} containerId={constants.DOCS_CONTAINER_ID} > @@ -125,7 +124,6 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N <ScrollLink to={id} offset={0} - hashSpy={true} duration={constants.DOCS_SCROLL_DURATION_MS} containerId={constants.DOCS_CONTAINER_ID} > |