mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix release channel input value
This commit is contained in:
@@ -49,9 +49,7 @@ export const UpdateSettings = memo(() => {
|
||||
value: 'alpha',
|
||||
},
|
||||
]}
|
||||
defaultValue={
|
||||
(localSettings?.get('release_channel') as string | undefined) || 'latest'
|
||||
}
|
||||
defaultValue={settings.releaseChannel || 'latest'}
|
||||
onChange={(value) => {
|
||||
if (!value) return;
|
||||
localSettings?.set('release_channel', value);
|
||||
|
||||
Reference in New Issue
Block a user