mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
only show translation when api key and provider are picked, and fix eslint vscode
This commit is contained in:
parent
c81bd93d04
commit
2cf0027419
4 changed files with 19 additions and 9 deletions
|
|
@ -181,6 +181,7 @@ export const LyricSettings = () => {
|
|||
{
|
||||
control: (
|
||||
<Select
|
||||
clearable
|
||||
data={['Microsoft Azure', 'Google Cloud']}
|
||||
onChange={(value) => {
|
||||
setSettings({ lyrics: { ...settings, translationApiProvider: value } });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue