summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-03 14:20:21 -0400
committerNate Sesti <sestinj@gmail.com>2023-06-03 14:20:21 -0400
commitf42b7508736f5a0957ad9fe069c26cf62de0a8d8 (patch)
treeca088d564f49d435c2a61167f0c5d2d7e0832abb /extension/react-app/src/hooks
parentfb4377a036eb2e6063e2c5b5e4882d079c883d5f (diff)
downloadsncontinue-f42b7508736f5a0957ad9fe069c26cf62de0a8d8.tar.gz
sncontinue-f42b7508736f5a0957ad9fe069c26cf62de0a8d8.tar.bz2
sncontinue-f42b7508736f5a0957ad9fe069c26cf62de0a8d8.zip
error handling and step retry
Diffstat (limited to 'extension/react-app/src/hooks')
-rw-r--r--extension/react-app/src/hooks/useContinueGUIProtocol.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
index a3a1d0c9..f27895fb 100644
--- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts
+++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
@@ -44,6 +44,10 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
}
});
}
+
+ retryAtIndex(index: number) {
+ this.messenger.send("retry_at_index", { index });
+ }
}
export default ContinueGUIClientProtocol;