From 879c97f44d1d54d44153a345d88cc82d65c6504a Mon Sep 17 00:00:00 2001 From: irtiza-h30 Date: Tue, 22 Jun 2021 18:59:42 -0400 Subject: [PATCH] fixed ScrollToTop import --- app/containers/App/index.js | 3 +-- app/index.js | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/containers/App/index.js b/app/containers/App/index.js index 6f663e2..f5a0013 100644 --- a/app/containers/App/index.js +++ b/app/containers/App/index.js @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { Helmet } from 'react-helmet'; import { Switch, Redirect } from 'react-router-dom'; -import { ThemeProvider, GenericNotFound, ScrollToTop } from '@tip-wlan/wlan-cloud-ui-library'; +import { ThemeProvider, GenericNotFound } from '@tip-wlan/wlan-cloud-ui-library'; import logo from 'images/tip-logo.png'; import logoMobile from 'images/tip-logo-mobile.png'; @@ -75,7 +75,6 @@ const App = () => { - diff --git a/app/index.js b/app/index.js index d1045a1..567f305 100644 --- a/app/index.js +++ b/app/index.js @@ -14,6 +14,7 @@ import { AUTH_TOKEN } from 'constants/index'; import { REFRESH_TOKEN } from 'graphql/mutations'; import { getItem, setItem, removeItem } from 'utils/localStorage'; import history from 'utils/history'; +import { ScrollToTop } from '@tip-wlan/wlan-cloud-ui-library'; const API_URI = process.env.NODE_ENV === 'production' ? window.REACT_APP_API : process.env.API; const MOUNT_NODE = document.getElementById('root'); @@ -102,6 +103,7 @@ const render = () => { ReactDOM.render( + ,