summaryrefslogtreecommitdiff
path: root/extension/react-app/src/pages/gui.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-06 15:39:16 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-06 15:39:16 -0700
commit19060a30faf94454f4d69d01828a33985d07f109 (patch)
tree10e983b351b39e51cc054e280074c65b54ac2c62 /extension/react-app/src/pages/gui.tsx
parentc25527926ad1d1f861dbed01df577e962e08d746 (diff)
downloadsncontinue-19060a30faf94454f4d69d01828a33985d07f109.tar.gz
sncontinue-19060a30faf94454f4d69d01828a33985d07f109.tar.bz2
sncontinue-19060a30faf94454f4d69d01828a33985d07f109.zip
feat: :construction: create new sessions
Diffstat (limited to 'extension/react-app/src/pages/gui.tsx')
-rw-r--r--extension/react-app/src/pages/gui.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx
index d565e64f..dab429b5 100644
--- a/extension/react-app/src/pages/gui.tsx
+++ b/extension/react-app/src/pages/gui.tsx
@@ -16,7 +16,7 @@ import {
BookOpenIcon,
ChatBubbleOvalLeftEllipsisIcon,
TrashIcon,
- PlusCircleIcon,
+ PlusIcon,
FolderIcon,
} from "@heroicons/react/24/outline";
import ComboBox from "../components/ComboBox";
@@ -589,11 +589,11 @@ If you already have an LLM deployed on your own infrastructure, or would like to
</HeaderButtonWithText>
<HeaderButtonWithText
onClick={() => {
- client?.sendClear();
+ client?.loadSession(undefined);
}}
- text="Clear"
+ text="New Session"
>
- <PlusCircleIcon width="1.4em" height="1.4em" />
+ <PlusIcon width="1.4em" height="1.4em" />
</HeaderButtonWithText>
<HeaderButtonWithText
onClick={() => {