mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 15:05: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 { Button } from "./ui/button";
|
||||
import { useTheme } from "next-themes";
|
||||
import { CheckmarkIcon } from "react-hot-toast";
|
||||
|
||||
export function SearchCommandBar() {
|
||||
const [serverList, setServerList] = useState<OnlineServer[]>([]);
|
||||
@ -278,7 +279,7 @@ export function OfflineServerCB() {
|
||||
|
||||
{customized && (
|
||||
<h2 className="flex items-center text-muted-foreground">
|
||||
<Check />
|
||||
<CheckmarkIcon />
|
||||
<span className="pl-1.5 text-[16px]">
|
||||
Is customized by a MHSF User
|
||||
</span>
|
||||
|
||||
@ -1177,7 +1177,10 @@ export default function ServerList() {
|
||||
{affiliates
|
||||
.filter((a) => a.mode.includes("server-list"))
|
||||
.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}
|
||||
</div>
|
||||
))}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user