Skip to content

Commit

Permalink
fix: Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Katie George committed Apr 30, 2024
1 parent ea75a6c commit dfa571d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/wizard/stepComponents/step2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const InstanceOptions = ({
const onStorageSliderChange = getFieldOnChange('slider', 'storage', onChange);

const validateStorageValue = (value, range) => {
if (!value) {
if (value === undefined) {
return '';
}
if (value < range[0] || value > range[1]) {
Expand Down Expand Up @@ -140,7 +140,7 @@ const InstanceOptions = ({
<div className="flex-wrapper">
<div className="slider-wrapper">
<Slider
ariaLabel="allocated-storage-slider"
ariaLabel="Allocated storage slider"
value={Number(storage)}
onChange={onStorageSliderChange}
min={20}
Expand All @@ -157,7 +157,7 @@ const InstanceOptions = ({
onChange={onStorageChange}
/>
</div>
<Box>GiB</Box>
<div>GiB</div>
</SpaceBetween>
</div>
</FormField>
Expand Down

0 comments on commit dfa571d

Please sign in to comment.