diff --git a/source/components/utils/Scroll.js b/source/components/utils/Scroll.js index 07dcd7d6b..2eb86fb8a 100644 --- a/source/components/utils/Scroll.js +++ b/source/components/utils/Scroll.js @@ -1,4 +1,5 @@ import React, { Component } from 'react' +import { dissoc } from 'ramda' const forEachParent = (node, fn) => { if (!node) { @@ -73,7 +74,7 @@ export class ScrollToElement extends Component { render() { return (
{ return ( - -
- {/* Passing location down to prevent update blocking */} - -
- -
- - - - - {process.env.NODE_ENV !== 'production' && ( - - )} + <> + +
+ {/* Passing location down to prevent update blocking */} + +
+ +
+ + + + + {process.env.NODE_ENV !== 'production' && ( + + )} +
+
-
-
+ ) })