Skip to content

Commit

Permalink
Fix an issue where the deprecated name for the ROLE enum was referenced
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Boberg <[email protected]>
  • Loading branch information
axelboberg committed Feb 12, 2025
1 parent 83b31a5 commit 36a1a45
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 36a1a45

Please sign in to comment.