Remove unused prop from component
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { withRouter } from "react-router-dom";
|
||||
|
||||
export default withRouter(function RouteChangeTracker({ history, logEvent }) {
|
||||
export default withRouter(function RouteChangeTracker({ history }) {
|
||||
history.listen((location, action) => {
|
||||
if (location.pathname === "/login") {
|
||||
document.body.style.overflow = "hidden";
|
||||
|
||||
Reference in New Issue
Block a user