From cf57f975f02009ba032b4848ffbf2177e0e7b52e Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 11 Sep 2023 21:24:06 +0300 Subject: [PATCH] Remove unused prop --- rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx | 1 - rsconcept/frontend/src/pages/RSFormPage/EditorRSExpression.tsx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx index 63dda7fa..30f23992 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx @@ -220,7 +220,6 @@ function EditorConstituenta({ toggleEditMode={() => setEditMode(EditMode.RSLANG)} onShowAST={onShowAST} onChange={newValue => setExpression(newValue)} - setValue={setExpression} setTypification={setTypification} /> void value: string onChange: (newValue: string) => void - setValue: (expression: string) => void } function EditorRSExpression({ activeCst, disabled, isActive, value, onShowAST, - toggleEditMode, setTypification, onChange, ... props + toggleEditMode, setTypification, onChange, ...props }: EditorRSExpressionProps) { const { schema } = useRSForm();