Fix build error
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m28s

This commit is contained in:
Braydon 2024-04-17 20:47:45 -04:00
parent a1dfa6b6fa
commit b52f9d1d38

@ -11,7 +11,21 @@ import {
ContextMenuTrigger, ContextMenuTrigger,
} from "@/components/ui/context-menu"; } from "@/components/ui/context-menu";
import CopyButton from "@/components/copy-button"; import CopyButton from "@/components/copy-button";
import * as querystring from "node:querystring";
/**
* The props for a player result.
*/
type PlayerResultProps = {
/**
* The original query to lookup this player.
*/
query: string | undefined;
/**
* The result of a search.
*/
player: CachedPlayer;
};
/** /**
* The result of a player search. * The result of a player search.
@ -27,10 +41,7 @@ const PlayerResult = ({
skin: { parts }, skin: { parts },
legacy, legacy,
}, },
}: { }: PlayerResultProps): ReactElement => (
query: string;
player: CachedPlayer;
}): ReactElement => (
<ContextMenu> <ContextMenu>
<ContextMenuTrigger> <ContextMenuTrigger>
<div className="relative px-2 py-3 flex flex-col items-center bg-muted rounded-xl"> <div className="relative px-2 py-3 flex flex-col items-center bg-muted rounded-xl">