File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " mobx-tanstack-query " : patch
3+ ---
4+
5+ fix is result requested change mobx warning due to abort
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ export class InfiniteQuery<
157157
158158 observable . deep ( this , '_result' ) ;
159159 observable . ref ( this , 'isResultRequsted' ) ;
160+ action ( this , 'handleAbort' ) ;
160161 action . bound ( this , 'setData' ) ;
161162 action . bound ( this , 'update' ) ;
162163 action . bound ( this , 'updateResult' ) ;
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ export class Query<
142142
143143 observable . deep ( this , '_result' ) ;
144144 observable . ref ( this , 'isResultRequsted' ) ;
145+ action ( this , 'handleAbort' ) ;
145146 action . bound ( this , 'setData' ) ;
146147 action . bound ( this , 'update' ) ;
147148 action . bound ( this , 'updateResult' ) ;
You can’t perform that action at this time.
0 commit comments