fix: 样式修改

This commit is contained in:
2025-09-07 23:21:41 -07:00
parent 57173a0221
commit 5dde8bd718
13 changed files with 80 additions and 15 deletions
@@ -46,9 +46,9 @@ const CopyShortenedLink = ({ className }: { className?: string }) => {
<CopyToClipboard
text={shortUrl} // 如果 shortUrl 还没有值,则传递空字符串
onCopy={(text, result) => {
if (text) {
if (!text) {
toast.success('text is undefined');
return '';
return;
}
if (result) {
toast.success(t('copySuccess'));