lastId non veniva aggiornato se l'url era /video/id/reccomender

This commit is contained in:
matteo
2019-02-18 20:55:58 +01:00
parent 0eaa8eb805
commit 2466c9798d
+1 -1
View File
@@ -29,7 +29,7 @@ class App extends React.Component {
static getDerivedStateFromProps(nextProps, prevState) {
let idMatch = matchPath(nextProps.location.pathname, {
path: "/video/:id",
path: "/video/:id/:rec?",
exact: true,
strict: false
});