Remove unused prop from component

This commit is contained in:
2021-09-12 20:27:52 +01:00
parent a72b42d705
commit 037cf046c0

View File

@@ -1,6 +1,6 @@
import { withRouter } from "react-router-dom"; import { withRouter } from "react-router-dom";
export default withRouter(function RouteChangeTracker({ history, logEvent }) { export default withRouter(function RouteChangeTracker({ history }) {
history.listen((location, action) => { history.listen((location, action) => {
if (location.pathname === "/login") { if (location.pathname === "/login") {
document.body.style.overflow = "hidden"; document.body.style.overflow = "hidden";