mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01: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;
|
return ref;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user