diff options
| author | Nate Sesti <sestinj@gmail.com> | 2023-06-12 21:34:05 -0700 | 
|---|---|---|
| committer | Nate Sesti <sestinj@gmail.com> | 2023-06-12 21:34:05 -0700 | 
| commit | 01cfbc179a33c99d55acdc989dbafd554db16a92 (patch) | |
| tree | c850a433c3a7d594fdeabf11cabd505bb5388d40 /extension | |
| parent | cc0d73c2c1351a08c95654f7792f56c1d3d0ab54 (diff) | |
| download | sncontinue-01cfbc179a33c99d55acdc989dbafd554db16a92.tar.gz sncontinue-01cfbc179a33c99d55acdc989dbafd554db16a92.tar.bz2 sncontinue-01cfbc179a33c99d55acdc989dbafd554db16a92.zip | |
clear history button fix
Diffstat (limited to 'extension')
| -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> | 
