fix(plugins/user-badges): remove dummy badge correctly

This commit is contained in:
PalmDevs 2025-10-22 22:16:15 +07:00
parent 86cf81ca56
commit 0583c97ae2
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA

View file

@ -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