update stat ids
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m1s

This commit is contained in:
Lee 2024-04-18 18:13:57 +01:00
parent cfb0411fc1
commit 78dc37f9b7
3 changed files with 10 additions and 6 deletions

View File

@ -31,6 +31,11 @@ type Button = {
const buttons: Button[] = [
{
title: "Get Started",
tooltip: "Click to view get started!",
url: "/player",
},
{
title: "Postman Collection",
tooltip: "Click to view the Postman Collection",
url: "https://www.postman.com/imfascinated/workspace/minecraft-utilities",
openInNewTab: true,

View File

@ -1,5 +1,6 @@
import { ReactElement } from "react";
import SyntaxHighlighter from "react-syntax-highlighter";
import createElement from "react-syntax-highlighter/dist/esm/create-element";
import { atomOneDark } from "react-syntax-highlighter/dist/esm/styles/hljs";
type CodeHighlighterProps = {
@ -14,8 +15,6 @@ type CodeHighlighterProps = {
rounded?: boolean;
};
import createElement from "react-syntax-highlighter/dist/esm/create-element";
/**
* Render the rows with the ability to render links.
*

View File

@ -36,15 +36,15 @@ const stats: Stat[] = [
icon: <ArrowTrendingUpIcon width={24} height={24} />,
},
{
id: "totalPlayerLookups",
id: "uniquePlayerLookups",
displayName: "Player Lookups",
tooltip: "The total amount of player lookups",
tooltip: "The unique amount of player lookups",
icon: <UserIcon width={24} height={24} />,
},
{
id: "totalServerLookups",
id: "uniqueServerLookups",
displayName: "Server Lookups",
tooltip: "The total amount of server lookups",
tooltip: "The unique amount of server lookups",
icon: <ServerIcon width={24} height={24} />,
},
];