diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ScrollToTop.tsx | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/components/ScrollToTop.tsx b/src/components/ScrollToTop.tsx index 4888dec..2c5e9ca 100644 --- a/src/components/ScrollToTop.tsx +++ b/src/components/ScrollToTop.tsx @@ -3,6 +3,9 @@ import { jsx, css } from "@emotion/react";  import React from "react";  import colors from "../colors"; +import smoothscroll from "smoothscroll-polyfill"; +smoothscroll.polyfill(); +  const styles = css`    width: 2.5rem;    height: 2.5rem; | 
