diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index 562a9e5422..f2187dff9d 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -12,9 +12,6 @@ import { reloadChannel, unisonReload } from "@/scripts/unison-reload"; export type Account = firefish.entities.MeDetailed; -export const iAmModerator = $i != null && ($i.isAdmin || $i.isModerator); -export const iAmAdmin = $i?.isAdmin; - export async function signout() { waiting(); localStorage.removeItem("account"); diff --git a/packages/client/src/components/MkFollowButton.vue b/packages/client/src/components/MkFollowButton.vue index 035847480f..321d7ac3bf 100644 --- a/packages/client/src/components/MkFollowButton.vue +++ b/packages/client/src/components/MkFollowButton.vue @@ -8,7 +8,7 @@