From bf9fe5e0ef9ae3022763b759fd20796f81a73f47 Mon Sep 17 00:00:00 2001 From: Paul Bizouard Date: Wed, 1 Jun 2022 01:12:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20selections=20and=20profiles=20sh?= =?UTF-8?q?ould=20be=20optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Roster/UnitCategories.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Roster/UnitCategories.js b/src/components/Roster/UnitCategories.js index b91996f..385d80a 100644 --- a/src/components/Roster/UnitCategories.js +++ b/src/components/Roster/UnitCategories.js @@ -1,4 +1,5 @@ /* eslint-disable prettier/prettier */ +/* eslint-disable react/default-props-match-prop-types */ import React, { Component } from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; @@ -13,8 +14,8 @@ export default class UnitCategories extends Component { name: PropTypes.string.isRequired, }), categories: PropTypes.array.isRequired, - selections: PropTypes.array.isRequired, - profiles: PropTypes.array.isRequired, + selections: PropTypes.array, + profiles: PropTypes.array, rules: PropTypes.array.isRequired, }).isRequired, };