Fixed JS warnings when clicking on status to get detailed status

merge-requests/9/head
crockwave 2020-05-16 13:57:22 -05:00
rodzic 93e326a6f9
commit e772abc402
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 = {