diff --git a/packages/ketcher-react/src/script/editor/tool/template.ts b/packages/ketcher-react/src/script/editor/tool/template.ts index c9562ac82f..f34de97f6b 100644 --- a/packages/ketcher-react/src/script/editor/tool/template.ts +++ b/packages/ketcher-react/src/script/editor/tool/template.ts @@ -332,15 +332,7 @@ class TemplateTool { let action = null let pasteItems - if (!ci) { - // ci.type == 'Canvas' - ;[action, pasteItems] = fromTemplateOnCanvas( - restruct, - this.template, - pos0, - angle - ) - } else if (ci.map === 'atoms') { + if (ci.map === 'atoms') { ;[action, pasteItems] = fromTemplateOnAtom( restruct, this.template,