mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-07 23:44:33 +00:00
Fix crash when viewing a profile with a filtered out pinned toot
This commit is contained in:
parent
5a41704f89
commit
b8e790c3c2
|
@ -55,7 +55,7 @@ const makeMapStateToProps = () => {
|
|||
let account = undefined;
|
||||
let prepend = undefined;
|
||||
|
||||
if (props.featured) {
|
||||
if (props.featured && status) {
|
||||
account = status.get('account');
|
||||
prepend = 'featured';
|
||||
} else if (reblogStatus !== null && typeof reblogStatus === 'object') {
|
||||
|
|
Loading…
Reference in a new issue