mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
only show translation when api key and provider are picked, and fix eslint vscode
This commit is contained in:
@@ -181,6 +181,7 @@ export const LyricSettings = () => {
|
||||
{
|
||||
control: (
|
||||
<Select
|
||||
clearable
|
||||
data={['Microsoft Azure', 'Google Cloud']}
|
||||
onChange={(value) => {
|
||||
setSettings({ lyrics: { ...settings, translationApiProvider: value } });
|
||||
|
||||
Reference in New Issue
Block a user