mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: constraints array can be undefined
This commit is contained in:
parent
48e15262a1
commit
3f5992902d
@ -6,7 +6,7 @@ import { useStyles } from './StrategyCardConstraints.styles.js';
|
|||||||
import ConditionallyRender from '../../../../../../common/ConditionallyRender/ConditionallyRender';
|
import ConditionallyRender from '../../../../../../common/ConditionallyRender/ConditionallyRender';
|
||||||
import { C } from '../../../../../../common/flags.js';
|
import { C } from '../../../../../../common/flags.js';
|
||||||
|
|
||||||
const StrategyCardConstraints = ({ constraints, flags }) => {
|
const StrategyCardConstraints = ({ constraints= [], flags }) => {
|
||||||
const styles = useStyles();
|
const styles = useStyles();
|
||||||
|
|
||||||
const isEnterprise = () => {
|
const isEnterprise = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user