1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02: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 = () => {