ClientSideBlock: Fix Crashing
All checks were successful
Sync to Codeberg / codeberg (push) Has been skipped
All checks were successful
Sync to Codeberg / codeberg (push) Has been skipped
This commit is contained in:
parent
390f470548
commit
b90a13be8e
1 changed files with 2 additions and 2 deletions
|
|
@ -163,8 +163,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "peopleListItemRef.current.componentWillLeave",
|
||||
replacement: {
|
||||
match: /\i}=this.state;/,
|
||||
replace: "$&if($self.shouldHideUser(this.props.user.id)) return null; "
|
||||
match: /return \i===\i\.\i\.FRIEND_ANNIVERSARY/,
|
||||
replace: "if($self.shouldHideUser(this.props.user.id)) return null;$&"
|
||||
}
|
||||
},
|
||||
// member list
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue