fix: rm macOS transition props

This commit is contained in:
GyDi
2022-07-05 01:24:23 +08:00
parent 2a1fc38799
commit 03300da93a
4 changed files with 2 additions and 25 deletions

View File

@@ -26,7 +26,6 @@ import {
changeProfileValid,
} from "../../services/cmds";
import { CmdType } from "../../services/types";
import getSystem from "../../utils/get-system";
import ProfileMore from "./profile-more";
import Notice from "../base/base-notice";
@@ -35,8 +34,6 @@ interface Props {
chain: string[];
}
const OS = getSystem();
const EnhancedMode = (props: Props) => {
const { items, chain } = props;
@@ -147,9 +144,6 @@ const EnhancedMode = (props: Props) => {
anchorEl={anchorEl}
onClose={() => setAnchorEl(null)}
transitionDuration={225}
TransitionProps={
OS === "macos" ? { style: { transitionDuration: "225ms" } } : {}
}
MenuListProps={{
dense: true,
"aria-labelledby": "profile-use-button",