Lint and clean-up

This commit is contained in:
Cohee
2024-04-15 00:39:15 +03:00
parent 0263be8c1f
commit 022c180b62
14 changed files with 22 additions and 31 deletions

View File

@ -507,6 +507,10 @@ async function loadTalkingHead() {
},
body: JSON.stringify(emotionsSettings),
});
if (!apiResult.ok) {
throw new Error(apiResult.statusText);
}
}
catch (error) {
// it's ok if not supported
@ -539,6 +543,10 @@ async function loadTalkingHead() {
},
body: JSON.stringify(animatorSettings),
});
if (!apiResult.ok) {
throw new Error(apiResult.statusText);
}
}
catch (error) {
// it's ok if not supported