From bc1351450cdea57c5ca94aadea2ce7cfdb35cae5 Mon Sep 17 00:00:00 2001 From: Axel Boberg Date: Thu, 13 Feb 2025 00:42:34 +0100 Subject: [PATCH] Fix an issue when assuming the main role (#55) --- app/components/Role/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Role/index.jsx b/app/components/Role/index.jsx index 5ed62b8..4e49248 100644 --- a/app/components/Role/index.jsx +++ b/app/components/Role/index.jsx @@ -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) }