sforkowany z mirror/soapbox
Fix PropType warnings in ColumnHeader and SubNavigation
rodzic
c789fba629
commit
63a001ae7d
|
@ -19,7 +19,7 @@ export default class ColumnHeader extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
intl: PropTypes.object.isRequired,
|
// intl: PropTypes.object.isRequired,
|
||||||
title: PropTypes.node,
|
title: PropTypes.node,
|
||||||
icon: PropTypes.string,
|
icon: PropTypes.string,
|
||||||
active: PropTypes.bool,
|
active: PropTypes.bool,
|
||||||
|
|
|
@ -6,7 +6,6 @@ import Icon from 'soapbox/components/icon';
|
||||||
export default class SubNavigation extends React.PureComponent {
|
export default class SubNavigation extends React.PureComponent {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
intl: PropTypes.object.isRequired,
|
|
||||||
message: PropTypes.string,
|
message: PropTypes.string,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue