[SSE mobile] Fix bug 50785

This commit is contained in:
JuliaSvinareva 2021-06-21 15:29:34 +03:00
parent 3433bbaf1e
commit e3f64d39db

View file

@ -12,8 +12,8 @@ class _FunctionGroups extends Component {
super(props);
}
componentDidMount() {
Common.Notifications.on('engineCreated', api => {
this.api = api;
Common.Notifications.on('document:ready', () => {
this.api = Common.EditorApi.get();
this.init();
});
}