Skip to content

Commit

Permalink
remove labels of input fields
Browse files Browse the repository at this point in the history
  • Loading branch information
shootermv committed Oct 9, 2023
1 parent 7d8190b commit 4e7cb11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/GapsPatternsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@ const GapsPatternsPage = () => {
/>
</Row>
<Row>
<Label text={TEXTS.choose_operator} />
<OperatorSelector
operatorId={operatorId}
setOperatorId={(id) => setSearch((current) => ({ ...current, operatorId: id }))}
/>
</Row>
<Row>
<Label text={TEXTS.choose_line} />
<LineNumberSelector
lineNumber={lineNumber}
setLineNumber={(number) => setSearch((current) => ({ ...current, lineNumber: number }))}
Expand Down
1 change: 1 addition & 0 deletions src/pages/components/OperatorSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const OperatorSelector = ({ operatorId, setOperatorId }: OperatorSelectorProps)
return (
<Autocomplete
disablePortal
style={{ width: '100%' }}
value={value}
onChange={(e, value) => setOperatorId(value ? value.id : '0')}
id="operator-select"
Expand Down

0 comments on commit 4e7cb11

Please sign in to comment.