mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: Use System Browser
This commit is contained in:
parent
448412a191
commit
60b5c54be1
|
@ -24,7 +24,7 @@ import { EditorViewer } from "./editor-viewer";
|
|||
import { ProfileBox } from "./profile-box";
|
||||
import parseTraffic from "@/utils/parse-traffic";
|
||||
import { ConfirmViewer } from "./confirm-viewer";
|
||||
|
||||
import { open } from "@tauri-apps/api/shell";
|
||||
const round = keyframes`
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
|
@ -98,7 +98,7 @@ export const ProfileItem = (props: Props) => {
|
|||
|
||||
const onOpenHome = () => {
|
||||
setAnchorEl(null);
|
||||
window.open(itemData.home); // use built-in browser
|
||||
open(itemData.home ?? "");
|
||||
};
|
||||
|
||||
const onEditInfo = () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user