Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deecay committed Sep 18, 2023
1 parent cc3b194 commit 10de3e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions viz-lib/src/visualizations/chart/Editor/XAxisSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,33 @@ export default function XAxisSettings({ options, onOptionsChange }: any) {

{includes(["histogram"], options.globalSeriesType) && (
<React.Fragment>
{/* @ts-expect-error ts-migrate(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
<Section>
<InputNumber
label="Bin Size"
className="w-100"
placeholder="Auto"
data-test="Chart.XAxis.BinSize"
defaultValue={options.binSize}
onChange={binSize => onOptionsChange({ binSize: toNumber(binSize) })}
onChange={(binSize: any) => onOptionsChange({ binSize: toNumber(binSize) })}
/>
</Section>

{/* @ts-expect-error ts-migrate(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
<Section>
<InputNumber
label="Bin Start"
className="w-100"
placeholder="Auto"
data-test="Chart.XAxis.BinStart"
defaultValue={options.binStart}
onChange={binStart => onOptionsChange({ binStart: toNumber(binStart) })}
onChange={(binStart: any) => onOptionsChange({ binStart: toNumber(binStart) })}
/>
</Section>
</React.Fragment>
)}

{/* @ts-expect-error ts-migrate(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
<Section>
{/* @ts-expect-error ts-migrate(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
<Switch
Expand Down

0 comments on commit 10de3e6

Please sign in to comment.