feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,9 +17,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
Star as ActionStar,
|
||||
Copy as ActionCopy,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { Button, SideSheet, Spin } from '@/components/ui';
|
||||
import { Copy, Star } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { ERROR_ACTIONS } from '../../../helpers/creationError';
|
||||
@@ -292,7 +295,7 @@ const WorkDetailDrawer = ({
|
||||
{!active ? (
|
||||
<Button
|
||||
icon={
|
||||
<Star
|
||||
<ActionStar
|
||||
size={14}
|
||||
aria-hidden='true'
|
||||
fill={task.favorited ? 'currentColor' : 'none'}
|
||||
@@ -329,7 +332,7 @@ const WorkDetailDrawer = ({
|
||||
<Button
|
||||
size='small'
|
||||
theme='borderless'
|
||||
icon={<Copy size={12} aria-hidden='true' />}
|
||||
icon={<ActionCopy size={12} aria-hidden='true' />}
|
||||
onClick={async () => {
|
||||
if (await copy(task.prompt)) showSuccess(t('已复制'));
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user