Skip to content

Commit

Permalink
Update CountDown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanBin committed Nov 21, 2023
1 parent c39502c commit 627fe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CountDown/CountDown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const CountDown: React.FunctionComponent<CountDownProps> = ({
const day = resultCaculatDay >= 0 ? resultCaculatDay : 0
textDay = (
<Container style={elementStyle}>
<Text style={[textStyle]}>{day >= 10 ? `${day}d` : `0${day}`}</Text>
<Text style={[textStyle]}>{day >= 10 ? `${day}` : `0${day}`}</Text>
</Container>
)
}
Expand Down

0 comments on commit 627fe32

Please sign in to comment.