Fix infinity display
This commit is contained in:
parent
050d4e7a36
commit
7886251cd8
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const getBackgroundColor = (value: number, max: number | null): string | undefin
|
|||
const Limit = ({ limit, children }: { limit: string | null; children: React.ReactNode }) => (
|
||||
<>
|
||||
{children}
|
||||
<span className={'ml-1 text-gray-300 text-[70%] select-none'}>/ {limit || '∞'}</span>
|
||||
<span className={'ml-1 text-gray-300 text-[70%] select-none'}>/ {limit || <>∞</>}</span>
|
||||
</>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue