fixed ScrollToTop import

This commit is contained in:
irtiza-h30
2021-06-22 18:59:42 -04:00
parent 01599ca670
commit 879c97f44d
2 changed files with 3 additions and 2 deletions

View File

@@ -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(
<Router history={history}>
<ApolloProvider client={client}>
<ScrollToTop />
<App />
</ApolloProvider>
</Router>,