summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/TextDialog.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-02 15:47:14 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-02 15:47:14 -0700
commit738a150a2c5503721e3bc75bd3fdc25590513883 (patch)
treeaecf17927b3ba4eb0652795ed4791d784e9343a0 /extension/react-app/src/components/TextDialog.tsx
parentbad7fc4bd0280a7ec0586eed955911a10c16eb01 (diff)
downloadsncontinue-738a150a2c5503721e3bc75bd3fdc25590513883.tar.gz
sncontinue-738a150a2c5503721e3bc75bd3fdc25590513883.tar.bz2
sncontinue-738a150a2c5503721e3bc75bd3fdc25590513883.zip
no more gpt-3.5-turbo
Diffstat (limited to 'extension/react-app/src/components/TextDialog.tsx')
-rw-r--r--extension/react-app/src/components/TextDialog.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/react-app/src/components/TextDialog.tsx b/extension/react-app/src/components/TextDialog.tsx
index 2632e572..a564f884 100644
--- a/extension/react-app/src/components/TextDialog.tsx
+++ b/extension/react-app/src/components/TextDialog.tsx
@@ -52,6 +52,7 @@ const TextDialog = (props: {
showDialog: boolean;
onEnter: (text: string) => void;
onClose: () => void;
+ message?: string;
}) => {
const [text, setText] = useState("");
const textAreaRef = React.createRef<HTMLTextAreaElement>();
@@ -75,7 +76,7 @@ const TextDialog = (props: {
}}
>
<Dialog>
- <P>Thanks for your feedback. We'll get back to you soon!</P>
+ <P>{props.message || ""}</P>
<TextArea
rows={10}
ref={textAreaRef}