only show translation when api key and provider are picked, and fix eslint vscode

This commit is contained in:
Kendall Garner 2025-09-05 19:55:58 -07:00
parent c81bd93d04
commit 2cf0027419
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
4 changed files with 19 additions and 9 deletions

View file

@ -181,6 +181,7 @@ export const LyricSettings = () => {
{
control: (
<Select
clearable
data={['Microsoft Azure', 'Google Cloud']}
onChange={(value) => {
setSettings({ lyrics: { ...settings, translationApiProvider: value } });