mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Remove Options index signature
This commit is contained in:
@@ -326,7 +326,7 @@ class App extends Component<{}, OptionsAppState> {
|
||||
const { target } = ev;
|
||||
|
||||
this.setState(({ options }) => {
|
||||
options[target.name] = getInputValue(target);
|
||||
options[target.name as keyof Options] = getInputValue(target);
|
||||
return { options };
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user