Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bprize15 committed Dec 12, 2024
1 parent 2ff23ac commit ca9a940
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/main/javascript/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "react-toastify/dist/ReactToastify.css";
import { Bounce, ToastContainer } from "react-toastify";
import News from "./pages/News/News";
import {
DEFAULT_VERSION,
ONCOTREE_TREE_URL,
PageRoutes,
} from "./shared/constants";
Expand Down Expand Up @@ -36,10 +35,8 @@ function App() {
const version = searchParams.get('version');
if (version) {
fetchData(version);
} else {
fetchData(DEFAULT_VERSION);
}
}, []);
}, [searchParams]);

useEffect(() => {
if (location.pathname !== PageRoutes.HOME) {
Expand Down

0 comments on commit ca9a940

Please sign in to comment.