From 7886251cd817016644a79875c7361ba8e5600a3f Mon Sep 17 00:00:00 2001 From: DaneEveritt Date: Mon, 27 Jun 2022 20:16:43 -0400 Subject: [PATCH] Fix infinity display --- .../scripts/components/server/console/ServerDetailsBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/server/console/ServerDetailsBlock.tsx b/resources/scripts/components/server/console/ServerDetailsBlock.tsx index 745eecc8b..9f0063878 100644 --- a/resources/scripts/components/server/console/ServerDetailsBlock.tsx +++ b/resources/scripts/components/server/console/ServerDetailsBlock.tsx @@ -34,7 +34,7 @@ const getBackgroundColor = (value: number, max: number | null): string | undefin const Limit = ({ limit, children }: { limit: string | null; children: React.ReactNode }) => ( <> {children} - / {limit || '∞'} + / {limit || <>∞} );