Skip to content

Commit

Permalink
fix: expand loading after cancelling request (1) - Ref gestion-de-pro…
Browse files Browse the repository at this point in the history
…jet#1495
  • Loading branch information
msellam committed Mar 14, 2023
1 parent b120a8b commit 5897303
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ScopeTree/ScopeTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ const ScopeTree: React.FC<ScopeTreeProps> = ({ defaultSelectedItems, onChangeSel
*
*/
const _onExpand = async (rowId: number) => {
const controller = new AbortController()
controllerRef.current = controller
controllerRef.current = new AbortController()
let _openPopulation = openPopulation ? openPopulation : []
let _rootRows = rootRows ? [...rootRows] : []
const index = _openPopulation.indexOf(rowId)
Expand Down

0 comments on commit 5897303

Please sign in to comment.