Skip to content

Commit

Permalink
fix: conditions for error displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
Arucard89 committed Jan 18, 2024
1 parent 0e0d0ed commit f107cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const Slider = React.forwardRef(function Slider(
: undefined
}
></BaseSlider>
{error && <div className={errorCn}>{error}</div>}
{styleModifiers.error && <div className={errorCn}>{error}</div>}
</div>
);
});

0 comments on commit f107cbb

Please sign in to comment.