Browse Source

Fix broken PropTypes (#4413)

pull/4/head
Yamagishi Kazutoshi 6 years ago
committed by Eugen Rochko
parent
commit
58eea59864
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/javascript/mastodon/components/status.js

+ 2
- 2
app/javascript/mastodon/components/status.js View File

@ -41,8 +41,8 @@ export default class Status extends ImmutablePureComponent {
autoPlayGif: PropTypes.bool,
muted: PropTypes.bool,
intersectionObserverWrapper: PropTypes.object,
index: PropTypes.oneOf(PropTypes.string, PropTypes.number),
listLength: PropTypes.oneOf(PropTypes.string, PropTypes.number),
index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
listLength: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
state = {

Loading…
Cancel
Save