Skip to content

Commit 9402288

Browse files
committed
Update user info display logic in useUserInfo hook
- Modified the display message for remaining days to clarify that the user will transition to a free version after the specified period.
1 parent a779d20 commit 9402288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useUserInfo = () => {
2424
: null;
2525
const isExpiringSoon = remainingDays !== null && remainingDays <= 90;
2626
const displayRemainingDays = isExpiringSoon
27-
? `(剩余 ${remainingDays} 天)`
27+
? `(剩余 ${remainingDays},之后转为免费版)`
2828
: '';
2929
return {
3030
user: getToken() ? data : null,

0 commit comments

Comments
 (0)