Skip to content

Commit

Permalink
fix: invalid default switch values in queryeditor
Browse files Browse the repository at this point in the history
  • Loading branch information
hbollon committed Nov 7, 2023
1 parent 41b8fad commit ae6f2e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ export function QueryEditor({ query, onChange, onRunQuery }: Props) {
</InlineFieldRow>
<InlineFieldRow>
<InlineField label="Active">
<InlineSwitch checked={active} onChange={onActiveChange} />
<InlineSwitch value={active} onChange={onActiveChange} />
</InlineField>
<InlineField label="Silenced">
<InlineSwitch checked={silenced} onChange={onSilencedChange} />
<InlineSwitch value={silenced} onChange={onSilencedChange} />
</InlineField>
<InlineField label="Inhibited">
<InlineSwitch checked={inhibited} onChange={onInhibitedChange} />
<InlineSwitch value={inhibited} onChange={onInhibitedChange} />
</InlineField>
</InlineFieldRow>
</div>
Expand Down

0 comments on commit ae6f2e9

Please sign in to comment.