Skip to content

Commit

Permalink
style: 格式化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Feb 15, 2024
1 parent 49e2697 commit 900fb17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/ToolMetaInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ export default function ToolMetaInfo() {
{toolStatus.dataCount && (
<Row gap="gap-1" itemsCenter>
<Icon color="gray" icon="i-mdi-database-outline" />
<SmallText color="gray">
数据量:{toolStatus.dataCount}
</SmallText>
<SmallText color="gray">数据量:{toolStatus.dataCount}</SmallText>
</Row>
)}
{toolStatus.dataSource && (
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/pages/VIPInfoViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ function Result({ VIPInfo }: { VIPInfo?: GetVIPInfoResponse }) {
<Column gap="gap-1">
<Text color="gray">会员到期时间</Text>
<LargeText>{getDate(expireDate!)}</LargeText>
<Text color="gray">
{getHumanReadableTimeDelta(expireDate!)}
</Text>
<Text color="gray">{getHumanReadableTimeDelta(expireDate!)}</Text>
</Column>
)}
</Row>
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/pages/VIPProfitCompute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,7 @@ function VIPRewards() {
<Column gap="gap-1">
<Text color="gray">基础收益率</Text>
<LargeText>{(baseEarningRate.value * 100).toFixed(2)}%</LargeText>
<SmallText color="gray">
{VIPData[VIPLevel.value].name}
</SmallText>
<SmallText color="gray">{VIPData[VIPLevel.value].name}</SmallText>
</Column>
<Column gap="gap-1">
<Text color="gray">持钻量加成</Text>
Expand Down

0 comments on commit 900fb17

Please sign in to comment.