Skip to content

Commit

Permalink
fix: missing raect key internal space between
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuralidharreddy authored and diehbria committed Nov 21, 2023
1 parent 95b904f commit 9cbb214
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { nanoid } from '@reduxjs/toolkit';

import { Button, ExpandableSection, SpaceBetween, Toggle } from '@cloudscape-design/components';

import ExpandableSectionHeader from '../shared/expandableSectionHeader';
import { DEFAULT_THRESHOLD_COLOR } from './defaultValues';
import type { StyledThreshold, ThresholdWithId } from '~/customization/settings';
import { Maybe, maybeWithDefault } from '~/util/maybe';
Expand All @@ -21,7 +20,7 @@ import { ThresholdStyleSettings, convertOptionToThresholdStyle, styledOptions }
import { ThresholdStyleType } from '@iot-app-kit/react-components/src/components/chart/types';

const ThresholdsExpandableSection: React.FC<React.PropsWithChildren<{ title: string }>> = ({ children, title }) => (
<ExpandableSection headerText={<ExpandableSectionHeader>{title}</ExpandableSectionHeader>} defaultExpanded>
<ExpandableSection headerText={title} defaultExpanded>
<SpaceBetween size='m' direction='vertical'>
{children}
</SpaceBetween>
Expand Down

0 comments on commit 9cbb214

Please sign in to comment.