diff --git a/apps/remix/app/components/MailList.tsx b/apps/remix/app/components/MailList.tsx index 1a4eab6..febb6aa 100644 --- a/apps/remix/app/components/MailList.tsx +++ b/apps/remix/app/components/MailList.tsx @@ -59,7 +59,7 @@ export function MailList(props: { mails: Email[] }) { queryKey: ["mails"], queryFn: fetchMails, initialData: props.mails, - refetchInterval: 10000, + refetchInterval: 20000, // refetch every 20 seconds }); return ( @@ -83,10 +83,14 @@ export function MailList(props: { mails: Email[] }) { queryKey: ["mails"], }) }> - {data.length === 0 && } - {data.length > 0 && ( - - )} + diff --git a/apps/remix/app/components/icons/Refresh.tsx b/apps/remix/app/components/icons/Refresh.tsx index 7950bff..841c86a 100644 --- a/apps/remix/app/components/icons/Refresh.tsx +++ b/apps/remix/app/components/icons/Refresh.tsx @@ -3,23 +3,18 @@ import { SVGProps } from "react"; export default function Refresh(props: SVGProps) { return ( - - - - - + fill="none" + stroke="currentColor" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round"> + + ); } diff --git a/apps/remix/public/locales/zh/common.json b/apps/remix/public/locales/zh/common.json index 3c12ada..a1dfc19 100644 --- a/apps/remix/public/locales/zh/common.json +++ b/apps/remix/public/locales/zh/common.json @@ -1,10 +1,10 @@ { "Donate": "打赏", "Virtual Temporary Email": "虚拟临时邮箱", - "Privacy friendly": "隐私友好", - "Valid for 1 Day": "有效期 1 天", - "AD friendly": "无内置广告", - "100% Run on Cloudflare": "运行在 Cloudflare", + "Privacy friendly": "免费创建无限邮箱", + "Valid for 1 Day": "有效期 1 天 (可密码找回)", + "AD friendly": "多域名后缀收发邮件", + "100% Run on Cloudflare": "稳定接收 20k+ 邮件", "Email address": "电子邮件地址", "Stop": "停止", "Validater": "人机验证",