mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 17:44:59 -05:00
fix: fixing the spaced classNames
This commit is contained in:
parent
9303f74b1c
commit
c7e14c159b
@ -42,7 +42,7 @@ export function IconDisplayClient(props: { server: string }) {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch(
|
fetch(
|
||||||
"https://api.minehut.com/server/" + props.server + "?byName=true",
|
"https://api.minehut.com/server/" + props.server + "?byName=true"
|
||||||
).then((b) => b.json().then((c) => setIcon(c.server.icon)));
|
).then((b) => b.json().then((c) => setIcon(c.server.icon)));
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@ -11,9 +11,7 @@ export default function Component(props: {
|
|||||||
<Card className={props.className}>
|
<Card className={props.className}>
|
||||||
{props.children}
|
{props.children}
|
||||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||||
<CardTitle className=" text-sm font-medium m-0">
|
<CardTitle className="text-sm font-medium m-0">{props.title}</CardTitle>
|
||||||
{props.title}
|
|
||||||
</CardTitle>
|
|
||||||
<props.icon className="h-4 w-4 text-muted-foreground" />
|
<props.icon className="h-4 w-4 text-muted-foreground" />
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
|
|||||||
@ -12,7 +12,7 @@ export default function LoggedInPopover() {
|
|||||||
<div className="grid w-full">
|
<div className="grid w-full">
|
||||||
<strong className="text-center">Logged in as {user?.username}</strong>
|
<strong className="text-center">Logged in as {user?.username}</strong>
|
||||||
<small className="text-center">
|
<small className="text-center">
|
||||||
Make comments about servers and favorite servers. Secured by Clerk
|
Make comments about servers and favorite servers. Secured by Clerk
|
||||||
</small>
|
</small>
|
||||||
<br />
|
<br />
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user