summaryrefslogtreecommitdiff
path: root/extension/react-app/src/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'extension/react-app/src/tabs')
-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>