Skip to content

Commit

Permalink
Fix an issue when assuming the main role (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboberg authored Feb 12, 2025
1 parent e3eca00 commit bc13514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Role/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function Role ({ currentRole = 0, open, onClose = () => {} }) {
if (value) {
const bridge = await api.load()
const id = bridge.client.getIdentity()
bridge.client.setRole(id, bridge.client.roles.main)
bridge.client.setRole(id, bridge.client.ROLES.main)
}
setPopupIsOpen(false)
}
Expand Down

0 comments on commit bc13514

Please sign in to comment.