From 4bb5e641bb989fdc15fb72e823668c1809e07ed4 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Wed, 14 Nov 2018 06:42:57 -0500 Subject: [PATCH] added comment about falseness of authorId, authorUsername --- src/views/preview/preview.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/preview/preview.jsx b/src/views/preview/preview.jsx index 9fb1534b9..20103336d 100644 --- a/src/views/preview/preview.jsx +++ b/src/views/preview/preview.jsx @@ -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,