[FIX] Can't change status (#3018)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Gung Wah 2021-04-01 22:00:20 +08:00 committed by GitHub
parent 0ff916dc50
commit 8f0eae7a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class StatusView extends React.Component {
super(props); super(props);
const { statusText } = props.user; const { statusText } = props.user;
this.state = { statusText, loading: false }; this.state = { statusText: statusText || '', loading: false };
this.setHeader(); this.setHeader();
} }