Skip to content

Commit

Permalink
fix: data rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadybcgo committed Sep 8, 2021
1 parent 39e4f35 commit 090cdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const Home: React.FC = (): ReactElement => {
<p className="product-tip">每天每个账户</p>
)}
<p className="product-text">
{Math.floor(limit.bwDayLimit / Math.pow(1000, 3))} GB
{Math.floor(limit.bwDayLimit / Math.pow(1000, 3)) || 10} GB
</p>
<p className="product-tip">
{i18n.language === Language.zh
Expand All @@ -280,7 +280,7 @@ const Home: React.FC = (): ReactElement => {
<div>
<div className="autoplay-content">
<p className="product-text">
{limit.projectNum}
{limit.projectNum || 10}
{t('Projects')}
</p>
</div>
Expand Down

0 comments on commit 090cdc9

Please sign in to comment.