File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export const useLimboSearch = async (options = {}) => {
126126 onBeforeUnmount ( ( ) => {
127127 // Cancel any active requests to prevent race conditions
128128 if ( activeRequestController . value ) {
129- activeRequestController . value . abort ( ) ;
129+ activeRequestController . value . abort ( 'The component was unmounted.' ) ;
130130 }
131131 // Clear timeout if any
132132 if ( typeof window !== "undefined" && requestTimeout . value ) {
@@ -589,7 +589,7 @@ export const useLimboSearch = async (options = {}) => {
589589 try {
590590 // Cancel any existing request to prevent race conditions
591591 if ( activeRequestController . value ) {
592- activeRequestController . value . abort ( ) ;
592+ activeRequestController . value . abort ( 'New search initiated.' ) ;
593593 }
594594
595595 // Create new controller for this request
You can’t perform that action at this time.
0 commit comments