mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
fix: update token expiration warning message for clarity
This commit is contained in:
@@ -97,7 +97,7 @@ export function useTokenMonitor() {
|
|||||||
else if (remainingMinutes !== null && remainingMinutes > 0 && remainingMinutes <= 60) {
|
else if (remainingMinutes !== null && remainingMinutes > 0 && remainingMinutes <= 60) {
|
||||||
if (!warningShown) {
|
if (!warningShown) {
|
||||||
message.warning({
|
message.warning({
|
||||||
content: `您的登录凭证将在 ${remainingMinutes} 分钟后过期,建议您提前刷新`,
|
content: `您的 Token 将在 ${remainingMinutes} 分钟后过期,建议您及时刷新`,
|
||||||
duration: 6,
|
duration: 6,
|
||||||
key: 'token-expiring-warning',
|
key: 'token-expiring-warning',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user