Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: update the condition of extra info shown
Browse files Browse the repository at this point in the history
Signed-off-by: linsheng <linsheng1@xsky.com>
  • Loading branch information
linsheng committed Mar 22, 2023
1 parent efe9130 commit 639c1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UsageBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const UsageBar: React.FC<UsageBarProps> = props => {
<div className="UsageBar__footer">
<div className="UsageBar__footer--left">
{left}
<span className="UsageBar__footer--extra">{extraFooterInfo}</span>
{extraFooterInfo && <span className="UsageBar__footer--extra">{extraFooterInfo}</span>}
</div>
<div className="UsageBar__footer--right">{right}</div>
</div>
Expand Down

0 comments on commit 639c1b7

Please sign in to comment.