We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df2ce5 commit bca742eCopy full SHA for bca742e
src/features/repo-list/tabs/index.tsx
@@ -30,7 +30,11 @@ const RepoListTabs = (props: Props) => {
30
className="repo-list__tab"
31
active={config.tab === type}
32
onClick={() => handleTabClick(type)}
33
- label={config.tab === type && !loading ? String(totalCount || 0) : undefined}
+ label={
34
+ config.tab === type && !loading && totalCount
35
+ ? String(totalCount)
36
+ : undefined
37
+ }
38
/>
39
))}
40
</Tabs>
0 commit comments