Remove unused prop

This commit is contained in:
IRBorisov 2023-09-11 21:24:06 +03:00
parent edc66e5f57
commit cf57f975f0
2 changed files with 1 additions and 3 deletions

View File

@ -220,7 +220,6 @@ function EditorConstituenta({
toggleEditMode={() => setEditMode(EditMode.RSLANG)} toggleEditMode={() => setEditMode(EditMode.RSLANG)}
onShowAST={onShowAST} onShowAST={onShowAST}
onChange={newValue => setExpression(newValue)} onChange={newValue => setExpression(newValue)}
setValue={setExpression}
setTypification={setTypification} setTypification={setTypification}
/> />
<ReferenceInput id='definition' label='Текстовое определение' <ReferenceInput id='definition' label='Текстовое определение'

View File

@ -28,12 +28,11 @@ interface EditorRSExpressionProps {
setTypification: (typificaiton: string) => void setTypification: (typificaiton: string) => void
value: string value: string
onChange: (newValue: string) => void onChange: (newValue: string) => void
setValue: (expression: string) => void
} }
function EditorRSExpression({ function EditorRSExpression({
activeCst, disabled, isActive, value, onShowAST, activeCst, disabled, isActive, value, onShowAST,
toggleEditMode, setTypification, onChange, ... props toggleEditMode, setTypification, onChange, ...props
}: EditorRSExpressionProps) { }: EditorRSExpressionProps) {
const { schema } = useRSForm(); const { schema } = useRSForm();