summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-12 21:34:05 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-12 21:34:05 -0700
commit221d352e149a9b09e48010f14e98049bada2e7eb (patch)
treeb66cd84fc66d21daac2333b9f7c6b4ee54370ed9 /extension
parentf48854157efed4275ecc23152a7e3027fec9105c (diff)
downloadsncontinue-221d352e149a9b09e48010f14e98049bada2e7eb.tar.gz
sncontinue-221d352e149a9b09e48010f14e98049bada2e7eb.tar.bz2
sncontinue-221d352e149a9b09e48010f14e98049bada2e7eb.zip
clear history button fix
Diffstat (limited to 'extension')
-rw-r--r--extension/react-app/src/tabs/gui.tsx14
1 files changed, 7 insertions, 7 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index 1569c178..a3a48410 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -290,14 +290,14 @@ function GUI(props: GUIProps) {
<BookOpen size="1.6em" />
</HeaderButton>
</a>
- <HeaderButton style={{ padding: "3px" }}>
+ <HeaderButton
+ onClick={() => {
+ client?.sendClear();
+ }}
+ style={{ padding: "3px" }}
+ >
Clear History
- <Trash
- size="1.6em"
- onClick={() => {
- client?.sendClear();
- }}
- />
+ <Trash size="1.6em" />
</HeaderButton>
</TopBar>