1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: constraints array can be undefined

This commit is contained in:
Ivar Conradi Østhus 2021-05-04 21:50:06 +02:00
parent 48e15262a1
commit 3f5992902d

View File

@ -6,7 +6,7 @@ import { useStyles } from './StrategyCardConstraints.styles.js';
import ConditionallyRender from '../../../../../../common/ConditionallyRender/ConditionallyRender';
import { C } from '../../../../../../common/flags.js';
const StrategyCardConstraints = ({ constraints, flags }) => {
const StrategyCardConstraints = ({ constraints= [], flags }) => {
const styles = useStyles();
const isEnterprise = () => {