mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 07:14:21 +00:00
Fix broken PropTypes (#4413)
This commit is contained in:
parent
c7de92e0df
commit
58eea59864
|
@ -41,8 +41,8 @@ export default class Status extends ImmutablePureComponent {
|
||||||
autoPlayGif: PropTypes.bool,
|
autoPlayGif: PropTypes.bool,
|
||||||
muted: PropTypes.bool,
|
muted: PropTypes.bool,
|
||||||
intersectionObserverWrapper: PropTypes.object,
|
intersectionObserverWrapper: PropTypes.object,
|
||||||
index: PropTypes.oneOf(PropTypes.string, PropTypes.number),
|
index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||||
listLength: PropTypes.oneOf(PropTypes.string, PropTypes.number),
|
listLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||||
};
|
};
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
|
|
Loading…
Reference in a new issue