fix(website): Remove throw error in setTimeout callback to prevent unhandled promise rejection

This commit is contained in:
Kazuki Yamada
2025-06-08 13:50:01 +09:00
parent cb2bbe22fe
commit 8694df19aa

View File

@@ -71,7 +71,6 @@ export function usePackRequest() {
const timeoutId = setTimeout(() => {
if (requestController) {
requestController.abort('Request timed out');
throw new Error('Request timed out');
}
}, TIMEOUT_MS);
@@ -108,7 +107,6 @@ export function usePackRequest() {
return {
// Pack options (re-exported for convenience)
packOptions,
...packOptionsComposable,
// Input states