mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-01 01:18:10 +02:00
fix: loading state (#6765)
This commit is contained in:
parent
0a0f5a73ab
commit
2cbb45de85
@ -16,7 +16,7 @@ const useLoading = (loading: boolean, selector = '[data-loading=true]') => {
|
||||
}
|
||||
});
|
||||
}
|
||||
}, [loading]);
|
||||
}, [loading, selector, ref]);
|
||||
|
||||
return ref;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user