Skip to content

Commit

Permalink
fix(webview): change timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangvu12 committed Nov 20, 2023
1 parent 6142ec4 commit c5cf6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/webview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const useWebView = () => {
return new Promise<T>((resolve, reject) => {
const timeout = setTimeout(() => {
reject(new Error('Timeout'));
}, 60000);
}, 20000);

const handleResponse = (e: WebViewMessageEvent) => {
const message = parseWebViewMessage<T>(e);
Expand Down

0 comments on commit c5cf6d4

Please sign in to comment.