From 142e2043b82fbf46af3841f9b07613ab8484dd65 Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Tue, 4 Jul 2023 11:58:02 -0700
Subject: 3.8 compatibility and deleting context all at once

---
 extension/react-app/src/tabs/gui.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'extension/react-app/src/tabs/gui.tsx')

diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index 40256f86..0a9e48fb 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -187,7 +187,7 @@ function GUI(props: GUIProps) {
 
   const deleteContextItem = useCallback(
     (idx: number) => {
-      client?.deleteContextItemAtIndex(idx);
+      client?.deleteContextAtIndices([idx]);
     },
     [client]
   );
-- 
cgit v1.2.3-70-g09d2

