diff options
Diffstat (limited to 'extension/react-app/src')
-rw-r--r-- | extension/react-app/src/tabs/gui.tsx | 14 |
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> |