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
merge-requests/12/head
Alex Gleason 2020-05-17 01:50:29 +00:00
commit b800e8823a
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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,

Wyświetl plik

@ -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 = {