mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
added comment about falseness of authorId, authorUsername
This commit is contained in:
parent
8e967737e5
commit
4bb5e641bb
1 changed files with 2 additions and 0 deletions
|
@ -490,8 +490,10 @@ class Preview extends React.Component {
|
|||
|
||||
Preview.propTypes = {
|
||||
assetHost: PropTypes.string.isRequired,
|
||||
// If there's no author, this will be false`
|
||||
authorId: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
||||
authorThumbnailUrl: PropTypes.string,
|
||||
// If there's no author, this will be false`
|
||||
authorUsername: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
||||
backpackOptions: PropTypes.shape({
|
||||
host: PropTypes.string,
|
||||
|
|
Loading…
Reference in a new issue