Apply suggestion from @Vendicated
This commit is contained in:
parent
c4ad1c457b
commit
94cc42c253
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export default definePlugin({
|
|||
replacement: [
|
||||
{
|
||||
match: /(\.renderReactions\(\i\).+?className:)/,
|
||||
replace: '$&(this.props.channel.nsfw?"vc-nsfw-img ":"")+'
|
||||
replace: '$&(this.props?.channel?.nsfw?"vc-nsfw-img ":"")+'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue