diff --git a/src/plugins/switchProfileButton/index.tsx b/src/plugins/switchProfileButton/index.tsx index 78d2c58f4..09dd8576d 100644 --- a/src/plugins/switchProfileButton/index.tsx +++ b/src/plugins/switchProfileButton/index.tsx @@ -14,12 +14,12 @@ import { ReactNode } from "react"; const RoleButtonClasses = findByPropsLazy("button", "buttonInner", "icon", "banner"); -type SwitchProfileMenuItemProps = { +interface SwitchProfileMenuItemProps { id: string; label: string; subtext: ReactNode; action(): void; -}; +} export default definePlugin({ name: "SwitchProfileButton", @@ -56,7 +56,7 @@ export default definePlugin({ >