1
0
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:
Fredrik Strand Oseberg 2023-09-26 19:12:32 +02:00 committed by GitHub
parent 76a2ec53f1
commit 6d5eec2810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ interface ISplitPreviewSliderProps {
}
const SplitPreviewSlider = ({ variants }: ISplitPreviewSliderProps) => {
if (variants.length < 2) {
if (variants.length < 1) {
return null;
}