We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d524e commit 84039eaCopy full SHA for 84039ea
1 file changed
packages/react-textarea/src/hooks/useAutocomplete.ts
@@ -87,11 +87,7 @@ class Debouncer<T extends any[]> {
87
await this.func(...args, this.activeAbortController.signal);
88
89
this.activeAbortController = undefined;
90
- } catch (error: unknown) {
91
- if ((error as Error).name !== "AbortError") {
92
- console.error(error);
93
- }
94
+ } catch (error) {}
95
}, this.wait);
96
};
97
}
0 commit comments