diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index 5844c5bd..5859bdea 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -12,10 +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 const iAmEmojiMod = iAmModerator || $i?.emojiModPerm !== "unauthorized"; - 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 50a2cc12..f52a685e 100644 --- a/packages/client/src/components/MkFollowButton.vue +++ b/packages/client/src/components/MkFollowButton.vue @@ -8,7 +8,7 @@