From 221d352e149a9b09e48010f14e98049bada2e7eb Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Mon, 12 Jun 2023 21:34:05 -0700
Subject: clear history button fix

---
 extension/react-app/src/tabs/gui.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'extension/react-app/src/tabs/gui.tsx')

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>
 
-- 
cgit v1.2.3-70-g09d2

