Skip to content

Commit

Permalink
fix: unset the singleton option for react-router-dom (#3047)
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-forina authored Dec 16, 2022
1 parent 802fc4e commit d225c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module.exports = (env, argv) => {
requiredVersion: dependencies["react-dom"],
},
"react-router-dom": {
singleton: true,
singleton: false, // consoledot needs this to be off to be able to upgrade the router to v6. We don't need this to be a singleton, so let's keep this off
requiredVersion: dependencies["react-router-dom"],
},
}
Expand Down

0 comments on commit d225c78

Please sign in to comment.