From f5b12a45070d8e61906e6c388c63df2505f86659 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 15 Nov 2022 16:42:53 +1300 Subject: [PATCH] ENH Add new withRouter external This is needed to polyfill the withRouter hoc from react-router-dom so we don't have to refactor everything that used it --- js/externals.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/externals.js b/js/externals.js index 956d350..4e1daf5 100644 --- a/js/externals.js +++ b/js/externals.js @@ -89,4 +89,5 @@ module.exports = { 'lib/TinyMCEActionRegistrar': 'TinyMCEActionRegistrar', 'lib/ShortcodeSerialiser': 'ShortcodeSerialiser', 'lib/withDragDropContext': 'withDragDropContext', + 'lib/withRouter': 'withRouter', };