From f335941b622389b10ba40501485c1827fecc7af0 Mon Sep 17 00:00:00 2001 From: wonfen Date: Sat, 9 Mar 2024 02:34:33 +0800 Subject: [PATCH] UI: change paste icon, delete default profile name --- src/components/profile/profile-viewer.tsx | 2 +- src/pages/profiles.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/profile/profile-viewer.tsx b/src/components/profile/profile-viewer.tsx index 170fffd..33d47aa 100644 --- a/src/components/profile/profile-viewer.tsx +++ b/src/components/profile/profile-viewer.tsx @@ -48,7 +48,7 @@ export const ProfileViewer = forwardRef( const { control, watch, register, ...formIns } = useForm({ defaultValues: { type: "remote", - name: "Remote File", + name: "", desc: "", url: "", option: { diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx index 2065059..80fba36 100644 --- a/src/pages/profiles.tsx +++ b/src/pages/profiles.tsx @@ -19,7 +19,7 @@ import { import { LoadingButton } from "@mui/lab"; import { ClearRounded, - ContentCopyRounded, + ContentPasteRounded, LocalFireDepartmentRounded, RefreshRounded, TextSnippetOutlined, @@ -291,7 +291,7 @@ const ProfilePage = () => { title={t("Paste")} onClick={onCopyLink} > - + ) : (