From 3e51ce57c4bafaf936b27b3bbe4f038b467ca1f3 Mon Sep 17 00:00:00 2001 From: Sqaaakoi Date: Thu, 16 Jan 2025 17:39:09 +1300 Subject: [PATCH] SwitchProfileButton: resolve some suggestions --- src/plugins/switchProfileButton/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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({ >