diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-12 13:18:16 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-12 13:18:16 -0700 |
commit | 25262703573e79fc436c32f48b8df428bfeb4c97 (patch) | |
tree | b3f67f4628b8aeedbb08d9ea6ba32a6692f09267 /extension/react-app/src/hooks/useContinueGUIProtocol.ts | |
parent | af350f5e70f20d14c361684e361b1e64e5e0b2c3 (diff) | |
download | sncontinue-25262703573e79fc436c32f48b8df428bfeb4c97.tar.gz sncontinue-25262703573e79fc436c32f48b8df428bfeb4c97.tar.bz2 sncontinue-25262703573e79fc436c32f48b8df428bfeb4c97.zip |
clear history and delete step buttons
Diffstat (limited to 'extension/react-app/src/hooks/useContinueGUIProtocol.ts')
-rw-r--r-- | extension/react-app/src/hooks/useContinueGUIProtocol.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts index f27895fb..a8e28fc5 100644 --- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts +++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts @@ -45,9 +45,17 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol { }); } + sendClear() { + this.messenger.send("clear_history", {}); + } + retryAtIndex(index: number) { this.messenger.send("retry_at_index", { index }); } + + deleteAtIndex(index: number) { + this.messenger.send("delete_at_index", { index }); + } } export default ContinueGUIClientProtocol; |