mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: change check for slider (#4838)
Change the check for when to display the variant preview
This commit is contained in:
parent
76a2ec53f1
commit
6d5eec2810
@ -75,7 +75,7 @@ interface ISplitPreviewSliderProps {
|
||||
}
|
||||
|
||||
const SplitPreviewSlider = ({ variants }: ISplitPreviewSliderProps) => {
|
||||
if (variants.length < 2) {
|
||||
if (variants.length < 1) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user