diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-04 21:37:39 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-04 21:37:39 -0700 |
commit | 26f147d2fdd5412117445c97a937c49b064da082 (patch) | |
tree | 0dd728f2ce806d0dba2dc15a65a26f2c58562a74 /extension/react-app/src/hooks | |
parent | d802dae10b26f59893380829feea3104b0650e14 (diff) | |
parent | 2d8c28965684d03ef711253e5555ef304882828f (diff) | |
download | sncontinue-26f147d2fdd5412117445c97a937c49b064da082.tar.gz sncontinue-26f147d2fdd5412117445c97a937c49b064da082.tar.bz2 sncontinue-26f147d2fdd5412117445c97a937c49b064da082.zip |
Merge branch 'main' into stop
Diffstat (limited to 'extension/react-app/src/hooks')
-rw-r--r-- | extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | 2 | ||||
-rw-r--r-- | extension/react-app/src/hooks/useContinueGUIProtocol.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts index 228e9a53..96ea7ab3 100644 --- a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts +++ b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts @@ -21,7 +21,7 @@ abstract class AbstractContinueGUIClientProtocol { abstract deleteAtIndex(index: number): void; - abstract deleteContextItemAtIndex(index: number): void; + abstract deleteContextAtIndices(indices: number[]): void; } export default AbstractContinueGUIClientProtocol; diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts index a0c38c0f..e950387c 100644 --- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts +++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts @@ -71,8 +71,8 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol { this.messenger.send("delete_at_index", { index }); } - deleteContextItemAtIndex(index: number) { - this.messenger.send("delete_context_item_at_index", { index }); + deleteContextAtIndices(indices: number[]) { + this.messenger.send("delete_context_at_indices", { indices }); } } |