Skip to content

Commit 7886251

Browse files
committed
Fix infinity display
1 parent 050d4e7 commit 7886251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/scripts/components/server/console/ServerDetailsBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const getBackgroundColor = (value: number, max: number | null): string | undefin
3434
const Limit = ({ limit, children }: { limit: string | null; children: React.ReactNode }) => (
3535
<>
3636
{children}
37-
<span className={'ml-1 text-gray-300 text-[70%] select-none'}>/ {limit || '&infin;'}</span>
37+
<span className={'ml-1 text-gray-300 text-[70%] select-none'}>/ {limit || <>&infin;</>}</span>
3838
</>
3939
);
4040

0 commit comments

Comments
 (0)