Archived
lastId non veniva aggiornato se l'url era /video/id/reccomender
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ class App extends React.Component {
|
|||||||
|
|
||||||
static getDerivedStateFromProps(nextProps, prevState) {
|
static getDerivedStateFromProps(nextProps, prevState) {
|
||||||
let idMatch = matchPath(nextProps.location.pathname, {
|
let idMatch = matchPath(nextProps.location.pathname, {
|
||||||
path: "/video/:id",
|
path: "/video/:id/:rec?",
|
||||||
exact: true,
|
exact: true,
|
||||||
strict: false
|
strict: false
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user