mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Mark onClick prop as not required for DraggableSeed (#7583)
This commit is contained in:
parent
9a1c7e3864
commit
629e5501a1
@ -13,7 +13,7 @@ class DraggableSeed extends Component {
|
|||||||
isOver: PropTypes.bool,
|
isOver: PropTypes.bool,
|
||||||
canDrop: PropTypes.bool,
|
canDrop: PropTypes.bool,
|
||||||
// Own Props
|
// Own Props
|
||||||
onClick: PropTypes.func.isRequired,
|
onClick: PropTypes.func,
|
||||||
setHoveringIndex: PropTypes.func.isRequired,
|
setHoveringIndex: PropTypes.func.isRequired,
|
||||||
index: PropTypes.number,
|
index: PropTypes.number,
|
||||||
draggingSeedIndex: PropTypes.number,
|
draggingSeedIndex: PropTypes.number,
|
||||||
@ -25,6 +25,7 @@ class DraggableSeed extends Component {
|
|||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
className: '',
|
className: '',
|
||||||
|
onClick: undefined,
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps (nextProps) {
|
componentWillReceiveProps (nextProps) {
|
||||||
|
Loading…
Reference in New Issue
Block a user