aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-08 21:33:20 +0800
committerFabio Berger <me@fabioberger.com>2018-08-08 21:33:20 +0800
commit386b5bb122c189496e83da46cf53e8dfe83f0ee6 (patch)
treee532861d7087809299922a138d0920e3cd537a43 /packages/react-docs
parentca67e7d36fb5eb91626a60156dbec4f67a7d52f7 (diff)
downloaddexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.gz
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.bz2
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.lz
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.xz
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.tar.zst
dexon-sol-tools-386b5bb122c189496e83da46cf53e8dfe83f0ee6.zip
Add back hashSpy
Diffstat (limited to 'packages/react-docs')
-rw-r--r--packages/react-docs/src/components/type.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/react-docs/src/components/type.tsx b/packages/react-docs/src/components/type.tsx
index 7e96f75c3..1c580caab 100644
--- a/packages/react-docs/src/components/type.tsx
+++ b/packages/react-docs/src/components/type.tsx
@@ -204,6 +204,7 @@ export function Type(props: TypeProps): any {
<ScrollLink
to={typeDefinitionAnchorId}
offset={0}
+ hashSpy={true}
duration={sharedConstants.DOCS_SCROLL_DURATION_MS}
containerId={sharedConstants.DOCS_CONTAINER_ID}
>