From 359d3e0723c01d530801265e64ceae2e61d19259 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 10 Dec 2022 12:41:07 -0800 Subject: [PATCH] Fix compiles. --- packages/mindplot/src/components/TopicFeature.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/mindplot/src/components/TopicFeature.js b/packages/mindplot/src/components/TopicFeature.js index ce319b80..5e79625f 100644 --- a/packages/mindplot/src/components/TopicFeature.js +++ b/packages/mindplot/src/components/TopicFeature.js @@ -21,8 +21,6 @@ import EmojiCharIcon from './EmojiCharIcon'; import SvgImageIcon from './SvgImageIcon'; import LinkIcon from './LinkIcon'; import NoteIcon from './NoteIcon'; -import Topic from './Topic'; -import FeatureModel from './model/FeatureModel'; const TopicFeatureFactory = { /** the icon object */ @@ -48,7 +46,7 @@ const TopicFeatureFactory = { icon: NoteIcon, }, - createIcon(topic: Topic, model: FeatureModel, readOnly: boolean) { + createIcon(topic, model, readOnly) { $assert(topic, 'topic can not be null'); $assert(model, 'model can not be null');