From e772abc40227525d7d436ac37124183358ece3ff Mon Sep 17 00:00:00 2001 From: crockwave Date: Sat, 16 May 2020 13:57:22 -0500 Subject: [PATCH] Fixed JS warnings when clicking on status to get detailed status --- app/gabsocial/features/status/components/detailed_status.js | 2 +- app/gabsocial/features/status/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gabsocial/features/status/components/detailed_status.js b/app/gabsocial/features/status/components/detailed_status.js index 8fd01ba62..9372c9e47 100644 --- a/app/gabsocial/features/status/components/detailed_status.js +++ b/app/gabsocial/features/status/components/detailed_status.js @@ -28,7 +28,7 @@ export default class DetailedStatus extends ImmutablePureComponent { onToggleHidden: PropTypes.func.isRequired, measureHeight: PropTypes.bool, onHeightChange: PropTypes.func, - domain: PropTypes.string.isRequired, + domain: PropTypes.string, compact: PropTypes.bool, showMedia: PropTypes.bool, onToggleMediaVisibility: PropTypes.func, diff --git a/app/gabsocial/features/status/index.js b/app/gabsocial/features/status/index.js index a5f5ec66c..4b9fc2436 100644 --- a/app/gabsocial/features/status/index.js +++ b/app/gabsocial/features/status/index.js @@ -129,7 +129,7 @@ class Status extends ImmutablePureComponent { descendantsIds: ImmutablePropTypes.list, intl: PropTypes.object.isRequired, askReplyConfirmation: PropTypes.bool, - domain: PropTypes.string.isRequired, + domain: PropTypes.string, }; state = {