Skip to content

Commit

Permalink
🔨 selections and profiles should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bizouard committed May 31, 2022
1 parent 62cdf9a commit bf9fe5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Roster/UnitCategories.js
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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,
};
Expand Down

0 comments on commit bf9fe5e

Please sign in to comment.