From 5ad3984ee630f262d71eee570dedf25cf3d28797 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sun, 27 Oct 2019 14:53:05 +0100 Subject: Fix incorrect prop type for plan prop --- src/components/ui/FeatureList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/ui') diff --git a/src/components/ui/FeatureList.js b/src/components/ui/FeatureList.js index 7ba8b54d7..f1039709c 100644 --- a/src/components/ui/FeatureList.js +++ b/src/components/ui/FeatureList.js @@ -72,7 +72,7 @@ export class FeatureList extends Component { static propTypes = { className: PropTypes.string, featureClassName: PropTypes.string, - plan: PropTypes.oneOf(PLANS), + plan: PropTypes.oneOf(Object.values(PLANS)), }; static defaultProps = { -- cgit v1.2.3-70-g09d2