Skip to content

Commit d225c78

Browse files
fix: unset the singleton option for react-router-dom (#3047)
1 parent 802fc4e commit d225c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/webpack.common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module.exports = (env, argv) => {
136136
requiredVersion: dependencies["react-dom"],
137137
},
138138
"react-router-dom": {
139-
singleton: true,
139+
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
140140
requiredVersion: dependencies["react-router-dom"],
141141
},
142142
}

0 commit comments

Comments
 (0)