Merge branch 'domain_warning' into 'master'

Fixed JS warnings when clicking on status to get detailed status. Fixed #59

Closes #59

See merge request soapbox-pub/soapbox-fe!9
This commit is contained in:
Alex Gleason 2020-05-17 01:50:29 +00:00
commit b800e8823a
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
onToggleHidden: PropTypes.func.isRequired, onToggleHidden: PropTypes.func.isRequired,
measureHeight: PropTypes.bool, measureHeight: PropTypes.bool,
onHeightChange: PropTypes.func, onHeightChange: PropTypes.func,
domain: PropTypes.string.isRequired, domain: PropTypes.string,
compact: PropTypes.bool, compact: PropTypes.bool,
showMedia: PropTypes.bool, showMedia: PropTypes.bool,
onToggleMediaVisibility: PropTypes.func, onToggleMediaVisibility: PropTypes.func,

View file

@ -129,7 +129,7 @@ class Status extends ImmutablePureComponent {
descendantsIds: ImmutablePropTypes.list, descendantsIds: ImmutablePropTypes.list,
intl: PropTypes.object.isRequired, intl: PropTypes.object.isRequired,
askReplyConfirmation: PropTypes.bool, askReplyConfirmation: PropTypes.bool,
domain: PropTypes.string.isRequired, domain: PropTypes.string,
}; };
state = { state = {