fix(plugins/user-badges): remove dummy badge correctly
This commit is contained in:
parent
86cf81ca56
commit
0583c97ae2
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ function patchProfileBadgeRows(
|
|||
}
|
||||
|
||||
// Remove dummy badge if it exists
|
||||
if (props.id === DUMMY_SYMBOL) container.props.children.pop()
|
||||
if (props.id === DUMMY_SYMBOL) container.props.children.shift()
|
||||
}
|
||||
|
||||
return el
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue