1
0
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:
Mateusz Kwasniewski 2024-04-03 10:20:04 +02:00 committed by GitHub
parent 0a0f5a73ab
commit 2cbb45de85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const useLoading = (loading: boolean, selector = '[data-loading=true]') => {
}
});
}
}, [loading]);
}, [loading, selector, ref]);
return ref;
};