From 94e0210a00b415a1af196f88e6a96054de403499 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:16:47 +0300 Subject: [PATCH] Minor UI fixes --- rsconcept/frontend/src/pages/CreateRSFormPage.tsx | 4 ++-- rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rsconcept/frontend/src/pages/CreateRSFormPage.tsx b/rsconcept/frontend/src/pages/CreateRSFormPage.tsx index 4e77d552..89069297 100644 --- a/rsconcept/frontend/src/pages/CreateRSFormPage.tsx +++ b/rsconcept/frontend/src/pages/CreateRSFormPage.tsx @@ -11,7 +11,7 @@ import MiniButton from '../components/Common/MiniButton'; import SubmitButton from '../components/Common/SubmitButton'; import TextArea from '../components/Common/TextArea'; import TextInput from '../components/Common/TextInput'; -import { UploadIcon } from '../components/Icons'; +import { DownloadIcon } from '../components/Icons'; import RequireAuth from '../components/RequireAuth'; import { useLibrary } from '../context/LibraryContext'; import { useConceptNavigation } from '../context/NagivationContext'; @@ -94,7 +94,7 @@ function CreateRSFormPage() { /> } + icon={} onClick={() => inputRef.current?.click()} /> diff --git a/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx b/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx index 1c4189f4..ac460f0d 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/DlgShowAST.tsx @@ -65,8 +65,7 @@ function DlgShowAST({ hideWindow, syntaxTree, expression }: DlgShowASTProps) { {expression.slice(0, hoverNode.start)} {expression.slice(hoverNode.start, hoverNode.finish)} {expression.slice(hoverNode.finish)} - - } + }