update error messages
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 55s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 55s
This commit is contained in:
@ -16,7 +16,7 @@ type Params = {
|
||||
export async function generateMetadata({ params: { id } }: Params): Promise<Metadata> {
|
||||
const player = await getData(id);
|
||||
if (player == null) {
|
||||
return generateEmbed({ title: "Unknown Player", description: "Player not found" });
|
||||
return generateEmbed({ title: "Unknown Player", description: "Invalid UUID / Username" });
|
||||
}
|
||||
|
||||
const { username, uniqueId, skin } = player;
|
||||
@ -55,7 +55,7 @@ export default async function Page({ params }: Params) {
|
||||
</div>
|
||||
|
||||
<Card>
|
||||
{player == null && <NotFound message="Player not found" />}
|
||||
{player == null && <NotFound message="Invalid UUID / Username" />}
|
||||
{player != null && (
|
||||
<div className="flex gap-2 flex-col md:flex-row">
|
||||
<div className="flex justify-center md:justify-start">
|
||||
|
Reference in New Issue
Block a user