From 4ab71e960beaf45de18ec8bf12187b06a0f9077f Mon Sep 17 00:00:00 2001 From: Melissa Samworth Date: Wed, 8 May 2024 20:32:53 -0400 Subject: [PATCH 1/2] Chatbot: question-matching on questions input #592 --- app/components/Button/button.css | 2 +- app/components/Chatbot/index.tsx | 8 +++++--- app/components/Chatbot/widgit.css | 5 +++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/components/Button/button.css b/app/components/Button/button.css index 87cfb8e6..4f848a1c 100644 --- a/app/components/Button/button.css +++ b/app/components/Button/button.css @@ -218,4 +218,4 @@ .button[disabled] { opacity: 0.6; cursor: inherit; -} +} \ No newline at end of file diff --git a/app/components/Chatbot/index.tsx b/app/components/Chatbot/index.tsx index d099d446..9bbd9b61 100644 --- a/app/components/Chatbot/index.tsx +++ b/app/components/Chatbot/index.tsx @@ -73,9 +73,11 @@ const QuestionInput = ({initial, onChange, onAsk}: QuestionInputProps) => { return (
{results.length > 0 ? ( - + ) : undefined}
Date: Wed, 8 May 2024 20:36:25 -0400 Subject: [PATCH 2/2] Lint --- app/components/Button/button.css | 2 +- app/components/Chatbot/index.tsx | 8 +++----- app/components/Chatbot/widgit.css | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/components/Button/button.css b/app/components/Button/button.css index 4f848a1c..87cfb8e6 100644 --- a/app/components/Button/button.css +++ b/app/components/Button/button.css @@ -218,4 +218,4 @@ .button[disabled] { opacity: 0.6; cursor: inherit; -} \ No newline at end of file +} diff --git a/app/components/Chatbot/index.tsx b/app/components/Chatbot/index.tsx index 9bbd9b61..6278cdd2 100644 --- a/app/components/Chatbot/index.tsx +++ b/app/components/Chatbot/index.tsx @@ -73,11 +73,9 @@ const QuestionInput = ({initial, onChange, onAsk}: QuestionInputProps) => { return (
{results.length > 0 ? ( - + ) : undefined}