mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Adjust QrCodeView propTypes for its Qr.messages prop (#7529)
This commit is contained in:
parent
3377228b74
commit
a849218f81
@ -69,7 +69,10 @@ function QrCodeView (props) {
|
||||
QrCodeView.propTypes = {
|
||||
warning: PropTypes.node,
|
||||
Qr: PropTypes.shape({
|
||||
message: PropTypes.array,
|
||||
message: PropTypes.oneOfType([
|
||||
PropTypes.arrayOf(PropTypes.node),
|
||||
PropTypes.node,
|
||||
]),
|
||||
data: PropTypes.string.isRequired,
|
||||
}).isRequired,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user