I try using the editor in a react router V7 project but when i init the component and try to display a modal (example : delete a decision table), i get this error and the modal does not show.
Warning: [antd: Modal] Static function can not consume context like dynamic theme. Please use 'App' component instead.
EDIT: I've made a react 18 app and the editor works (although the warning stays which is not the source problem). The problem must be with React19 but i have not figured out what.
EDIT 2 : indeed in a fresh React19 app the editor Modals does not work
I try using the editor in a react router V7 project but when i init the component and try to display a modal (example : delete a decision table), i get this error and the modal does not show.
Warning: [antd: Modal] Static function can not consume context like dynamic theme. Please use 'App' component instead.
EDIT: I've made a react 18 app and the editor works (although the warning stays which is not the source problem). The problem must be with React19 but i have not figured out what.
EDIT 2 : indeed in a fresh React19 app the editor Modals does not work