зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1619590 - Fix Failed prop type warnings in InspectAction and _ActionButton r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65217 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
5a4c537105
Коммит
aa241077e3
|
@ -26,7 +26,7 @@ class InspectAction extends PureComponent {
|
|||
dispatch: PropTypes.func.isRequired,
|
||||
disabled: PropTypes.bool,
|
||||
target: Types.debugTarget.isRequired,
|
||||
title: Types.string,
|
||||
title: PropTypes.string,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class _ActionButton extends PureComponent {
|
|||
return {
|
||||
children: PropTypes.node,
|
||||
className: PropTypes.string.isRequired,
|
||||
disabled: PropTypes.bool.isRequired,
|
||||
disabled: PropTypes.bool,
|
||||
disabledTitle: PropTypes.string,
|
||||
onClick: PropTypes.func.isRequired,
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче