app/components/base/prompt-editor/plugins/context-block/context-block-replacement-block.tsx
@@ -14,13 +14,12 @@ ContextBlockNode, } from '../context-block/node' import { CustomTextNode } from '../custom-text/node' import { noop } from 'lodash-es' const REGEX = new RegExp(CONTEXT_PLACEHOLDER_TEXT) const ContextBlockReplacementBlock = ({ datasets = [], onAddContext = noop, onAddContext = () => {}, onInsert, canNotAddContext, }: ContextBlockType) => {