mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Removed unnecessary check
refs https://github.com/TryGhost/Product/issues/3941
This commit is contained in:
parent
21bdd38b37
commit
9b1be9dda7
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function TabView<ID extends string = string>({
|
|||
onClick={handleTabChange}
|
||||
>
|
||||
{tab.title}
|
||||
{((typeof tab.counter === 'number' && tab.counter !== null)) && <span className='ml-1.5 rounded-full bg-grey-200 px-1.5 py-[2px] text-xs font-normal text-grey-800 dark:bg-grey-900 dark:text-grey-300'>{tab.counter}</span>}
|
||||
{(typeof tab.counter === 'number') && <span className='ml-1.5 rounded-full bg-grey-200 px-1.5 py-[2px] text-xs font-normal text-grey-800 dark:bg-grey-900 dark:text-grey-300'>{tab.counter}</span>}
|
||||
</button>
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Add table
Reference in a new issue