1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

apply suggestions

This commit is contained in:
grafixeyehero 2022-01-14 19:20:27 +03:00
parent c6966c67f7
commit f5b69e0de3

View file

@ -168,7 +168,6 @@ const UserParentalControl: FunctionComponent = () => {
const userId = appRouter.param('userId');
const promise1 = window.ApiClient.getUser(userId);
const promise2 = window.ApiClient.getParentalRatings();
// eslint-disable-next-line compat/compat
Promise.all([promise1, promise2]).then(function (responses) {
loadUser(responses[0], responses[1]);
});