BadgesAPI: Update Patch to be stable compat
This commit is contained in:
parent
9b69d9b33f
commit
92b7df7b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export default definePlugin({
|
|||
replace: "...$1.props,$&"
|
||||
},
|
||||
{
|
||||
match: /(?<=__unsupportedReactNodeAsText:\i,forceOpen:.{0,40}?)children:(?=.{0,5}\$\{(\i)\.id\})/,
|
||||
match: /(?<=__unsupportedReactNodeAsText:\i,forceOpen:.{0,70}?)children:(?=.{0,5}\$\{(\i)\.id\})/,
|
||||
replace: "children:$1.component?$self.renderBadgeComponent({...$1}) :"
|
||||
},
|
||||
// handle onClick and onContextMenu
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue