feat: profile enhanced ui

This commit is contained in:
GyDi committed 2022-03-05 22:54:39 +08:00
1 parent 83bf67b8ca
commit 08dd73fd72
4 files changed
+293 -44

No files matched your search

+2 -5
View File
@@ -50,11 +50,8 @@ const ProfileEdit = (props: Props) => {
} as const;
const type =
form.type ?? form.url
? "remote"
: form.file?.endsWith("js")
? "script"
: "local";
form.type ||
(form.url ? "remote" : form.file?.endsWith("js") ? "script" : "local");
return (
<Dialog open={open} onClose={onClose}>