mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 23:45:02 -05:00
fix: react-related issues
This commit is contained in:
parent
b073f719be
commit
e45d8f0a70
@ -80,6 +80,7 @@ import {
|
|||||||
import { TagShower } from "./ServerList";
|
import { TagShower } from "./ServerList";
|
||||||
import { Button } from "./ui/button";
|
import { Button } from "./ui/button";
|
||||||
import { useTheme } from "next-themes";
|
import { useTheme } from "next-themes";
|
||||||
|
import { CheckmarkIcon } from "react-hot-toast";
|
||||||
|
|
||||||
export function SearchCommandBar() {
|
export function SearchCommandBar() {
|
||||||
const [serverList, setServerList] = useState<OnlineServer[]>([]);
|
const [serverList, setServerList] = useState<OnlineServer[]>([]);
|
||||||
@ -278,7 +279,7 @@ export function OfflineServerCB() {
|
|||||||
|
|
||||||
{customized && (
|
{customized && (
|
||||||
<h2 className="flex items-center text-muted-foreground">
|
<h2 className="flex items-center text-muted-foreground">
|
||||||
<Check />
|
<CheckmarkIcon />
|
||||||
<span className="pl-1.5 text-[16px]">
|
<span className="pl-1.5 text-[16px]">
|
||||||
Is customized by a MHSF User
|
Is customized by a MHSF User
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -1177,7 +1177,10 @@ export default function ServerList() {
|
|||||||
{affiliates
|
{affiliates
|
||||||
.filter((a) => a.mode.includes("server-list"))
|
.filter((a) => a.mode.includes("server-list"))
|
||||||
.map((a) => (
|
.map((a) => (
|
||||||
<div className="border rounded p-4 col-span-2">
|
<div
|
||||||
|
className="border rounded p-4 col-span-2"
|
||||||
|
key={a.name}
|
||||||
|
>
|
||||||
{a.name}
|
{a.name}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user