Skip to content

Commit

Permalink
chore(pretty): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Nov 28, 2024
1 parent 77c302b commit 70beda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/device-page/DeviceSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class DeviceSettings extends Component<DeviceSettingsProps, DeviceSetting
<Form
schema={schema}
formData={this.formData}
onChange={(data) => this.formData = data.formData}
onChange={(data) => (this.formData = data.formData)}
onSubmit={this.updateConfig}
uiSchema={uiSchema}
fields={{ TitleField, DescriptionField }}
Expand Down
4 changes: 2 additions & 2 deletions src/components/settings-page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class SettingsPage extends Component<
state = {
keyName: ROOT_KEY_NAME,
};
settingsFormData: {[s: string]: Record<string, unknown>} = {};
settingsFormData: { [s: string]: Record<string, unknown> } = {};
renderCategoriesTabs(): JSX.Element {
const { t } = this.props;
return (
Expand Down Expand Up @@ -394,7 +394,7 @@ class SettingsPage extends Component<
idPrefix={keyName}
schema={currentSchema}
formData={this.settingsFormData[keyName]}
onChange={(data) => this.settingsFormData[keyName] = data.formData}
onChange={(data) => (this.settingsFormData[keyName] = data.formData)}
onSubmit={this.onSettingsSave}
uiSchema={uiSchemas[keyName] as UiSchema}
fields={{ TitleField, DescriptionField }}
Expand Down

0 comments on commit 70beda5

Please sign in to comment.