Skip to content

Commit

Permalink
ENH Add new withRouter external
Browse files Browse the repository at this point in the history
This is needed to polyfill the withRouter hoc from react-router-dom so
we don't have to refactor everything that used it
  • Loading branch information
GuySartorelli committed Nov 29, 2022
1 parent 1c18099 commit b441541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/externals.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ module.exports = {
'lib/TinyMCEActionRegistrar': 'TinyMCEActionRegistrar',
'lib/ShortcodeSerialiser': 'ShortcodeSerialiser',
'lib/withDragDropContext': 'withDragDropContext',
'lib/withRouter': 'withRouter',
};

0 comments on commit b441541

Please sign in to comment.