diff --git a/ui/package.json b/ui/package.json index eeb591172..2c8a54b12 100644 --- a/ui/package.json +++ b/ui/package.json @@ -15,6 +15,7 @@ "http-proxy-middleware": "^1.2.0", "lodash": "^4.17.21", "prop-types": "^15.7.2", + "query-string": "^7.0.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-infinite-scroll-component": "^6.1.0", @@ -24,6 +25,7 @@ "reactstrap": "^8.9.0", "sass": "^1.32.11", "use-http": "^1.0.20", + "use-query-params": "^1.2.2", "web-vitals": "^1.0.1" }, "scripts": { diff --git a/ui/src/app/App.js b/ui/src/app/App.js index 2e53c4e3d..547f0a45b 100644 --- a/ui/src/app/App.js +++ b/ui/src/app/App.js @@ -5,6 +5,7 @@ import { Redirect, Route } from "react-router-dom"; +import { QueryParamProvider } from 'use-query-params'; import { Provider as HttpProvider } from 'use-http'; import './App.scss'; @@ -12,7 +13,7 @@ import { I18nProvider } from './i18n/context/I18n.provider'; import Footer from './core/components/Footer'; import { get_cookie } from './core/utility/get_cookie'; -import Dashboard from './dashboard/container/Dashboard'; +import Dashboard from './dashboard/view/Dashboard'; import Header from './core/components/Header'; import { UserProvider } from './core/user/UserContext'; import { Metadata } from './metadata/Metadata'; @@ -38,18 +39,20 @@ function App() { -
-
- - - - - - - - -
-