From ae3a003d31035d7bb95b076948586dffa2b10f08 Mon Sep 17 00:00:00 2001 From: hq1 Date: Tue, 8 Aug 2023 14:57:33 +0200 Subject: [PATCH] Fix filter labels when filtering on clicks from ModalTable (#3247) --- assets/js/dashboard/router.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/js/dashboard/router.js b/assets/js/dashboard/router.js index a7a9bc22b8..5aedfde737 100644 --- a/assets/js/dashboard/router.js +++ b/assets/js/dashboard/router.js @@ -1,5 +1,5 @@ import React, { useEffect } from 'react'; -import {BrowserRouter, Switch, Route, useLocation} from "react-router-dom"; +import { BrowserRouter, Switch, Route, useLocation } from "react-router-dom"; import Dash from './index' import SourcesModal from './stats/modals/sources' @@ -26,14 +26,14 @@ function ScrollToTop() { return null; } -export default function Router({site, loggedIn, currentUserRole}) { +export default function Router({ site, loggedIn, currentUserRole }) { return ( - + @@ -52,19 +52,19 @@ export default function Router({site, loggedIn, currentUserRole}) { - + - + - + - + - +