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) {
|
||||
let idMatch = matchPath(nextProps.location.pathname, {
|
||||
path: "/video/:id",
|
||||
path: "/video/:id/:rec?",
|
||||
exact: true,
|
||||
strict: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user