(prevProps)
| 27 | } |
| 28 | |
| 29 | componentDidUpdate(prevProps) { |
| 30 | const currentPage = |
| 31 | prevProps.location.pathname + prevProps.location.search; |
| 32 | const nextPage = |
| 33 | this.props.location.pathname + this.props.location.search; |
| 34 | |
| 35 | if (currentPage !== nextPage) { |
| 36 | trackPage(`${BASENAME}${nextPage}`); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | render() { |
| 41 | return <WrappedComponent {...this.props} />; |
nothing calls this directly
no test coverage detected