diff --git a/plugins/setting-resources/src/components/Owners.svelte b/plugins/setting-resources/src/components/Owners.svelte index 93a306a4b5..f3fe52a839 100644 --- a/plugins/setting-resources/src/components/Owners.svelte +++ b/plugins/setting-resources/src/components/Owners.svelte @@ -24,12 +24,9 @@ export let visibleNav: boolean = true const dispatch = createEventDispatcher() - const client = getClient() - const query = createQuery() - - const currentRole = getCurrentAccount().role + const currentAccount = getCurrentAccount() const items: DropdownIntlItem[] = [ { id: AccountRole.User, label: setting.string.User }, @@ -73,7 +70,7 @@