diff --git a/src/equicordplugins/pinIcon/index.tsx b/src/equicordplugins/pinIcon/index.tsx index 4dff15ec..c8e76f5f 100644 --- a/src/equicordplugins/pinIcon/index.tsx +++ b/src/equicordplugins/pinIcon/index.tsx @@ -20,8 +20,9 @@ import { EquicordDevs } from "@utils/constants"; import definePlugin from "@utils/types"; import { Message } from "discord-types/general"; -const PinIcon = ({ style = {} }) => ; - +function PinIcon({ style = {} }) { + return ; +} export default definePlugin({ name: "PinIcon", description: "Adds a pin icon to pinned messages", diff --git a/src/equicordplugins/sidebarChat/index.tsx b/src/equicordplugins/sidebarChat/index.tsx index 5e4f2aee..8c88e50d 100644 --- a/src/equicordplugins/sidebarChat/index.tsx +++ b/src/equicordplugins/sidebarChat/index.tsx @@ -44,37 +44,41 @@ interface ContextMenuProps { user: User; } -const ArrowsLeftRightIcon = - - - - -; +function ArrowsLeftRightIcon() { + return + + + + + ; +} -const XSmallIcon = - - -; +function XSmallIcon() { + return + + + ; +} function MakeContextCallback(name: "user" | "channel"): NavContextMenuPatchCallback { return (children, { user, channel, guildId }: ContextMenuProps) => { diff --git a/src/equicordplugins/statusPresets/index.tsx b/src/equicordplugins/statusPresets/index.tsx index 531bc7a5..8550d934 100644 --- a/src/equicordplugins/statusPresets/index.tsx +++ b/src/equicordplugins/statusPresets/index.tsx @@ -46,20 +46,22 @@ interface Emoji { id: bigint | null; name: string; } -const CircleXIcon = - - - -; +function CircleXIcon() { + return + + + + ; +} interface DiscordStatus { emojiInfo: Emoji | null; text: string;