From 70a5f0ec59c53ebe70ebfaf4e34c92adc09e125d Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 25 Nov 2024 01:50:38 -0500 Subject: [PATCH] Fix Compiling --- src/equicordplugins/friendTags/index.tsx | 34 ++++++++++++--------- src/equicordplugins/friendTags/styles.css | 11 +++++++ src/equicordplugins/iRememberYou/index.tsx | 17 ++++++----- src/equicordplugins/iRememberYou/styles.css | 11 +++++++ 4 files changed, 51 insertions(+), 22 deletions(-) create mode 100644 src/equicordplugins/friendTags/styles.css create mode 100644 src/equicordplugins/iRememberYou/styles.css diff --git a/src/equicordplugins/friendTags/index.tsx b/src/equicordplugins/friendTags/index.tsx index 7cf3b2ef..1ad9cec5 100644 --- a/src/equicordplugins/friendTags/index.tsx +++ b/src/equicordplugins/friendTags/index.tsx @@ -4,10 +4,11 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import "styles.css?managed"; + import { NavContextMenuPatchCallback } from "@api/ContextMenu"; import { DataStore } from "@api/index"; import { definePluginSettings } from "@api/Settings"; -import { ExpandableHeader } from "@components/ExpandableHeader"; import { Devs } from "@utils/constants"; import { useForceUpdater } from "@utils/react"; import definePlugin, { OptionType } from "@utils/types"; @@ -108,20 +109,23 @@ function TagConfigCard(props) { Users (Seperated by comma) - - { - userIds.split(", ").map(user => { - const userData: any = UserStore.getUser(user); - if (!userData) return null; - return ( -
- - setUserIDs(userIds.replace(`, ${user}`, "").replace(user, ""))}>{userData.globalName || userData.username} -
- ); - }) - } -
+
+ User List (Click A User To Remove) +
+ { + userIds.split(", ").map(user => { + const userData: any = UserStore.getUser(user); + if (!userData) return null; + return ( +
+ + setUserIDs(userIds.replace(`, ${user}`, "").replace(user, ""))}>{userData.globalName || userData.username} +
+ ); + }) + } +
+