mirror of
https://github.com/yamadashy/repomix.git
synced 2025-06-11 00:25:54 +03:00
fix(website): Remove throw error in setTimeout callback to prevent unhandled promise rejection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user