[PE mobile] Removed duplicate code

This commit is contained in:
JuliaSvinareva 2021-02-09 19:07:43 +03:00
parent 3912fe4620
commit 9444e39ff0

View file

@ -322,14 +322,6 @@ class MainController extends Component {
storeChartSettings.updateChartStyles(this.api.asc_getChartPreviews(storeFocusObjects.chartObject.getType()));
}
});
// Link settings
const storeLinkSettings = this.props.storeLinkSettings;
this.api.asc_registerCallback('asc_onCanAddHyperlink', (value) => {
storeLinkSettings.canAddHyperlink(value);
});
}
_onDocumentContentReady() {