mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestions
This commit is contained in:
parent
c6966c67f7
commit
f5b69e0de3
1 changed files with 0 additions and 1 deletions
|
@ -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]);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue