From 9444e39ff02f6a33c57d21087cc30414b89f62f8 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 9 Feb 2021 19:07:43 +0300 Subject: [PATCH] [PE mobile] Removed duplicate code --- apps/presentationeditor/mobile/src/controller/Main.jsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index 288bd56ad..2ab9febd3 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -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() {