mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: service ref error
This commit is contained in:
@@ -74,7 +74,7 @@ const SettingSystem = ({ onError }: Props) => {
|
|||||||
<PrivacyTipRounded
|
<PrivacyTipRounded
|
||||||
fontSize="small"
|
fontSize="small"
|
||||||
style={{ cursor: "pointer", opacity: 0.75 }}
|
style={{ cursor: "pointer", opacity: 0.75 }}
|
||||||
onClick={() => sysproxyRef.current?.open()}
|
onClick={() => serviceRef.current?.open()}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -95,7 +95,7 @@ const SettingSystem = ({ onError }: Props) => {
|
|||||||
color="inherit"
|
color="inherit"
|
||||||
size="small"
|
size="small"
|
||||||
sx={{ my: "2px" }}
|
sx={{ my: "2px" }}
|
||||||
onClick={() => sysproxyRef.current?.open()}
|
onClick={() => serviceRef.current?.open()}
|
||||||
>
|
>
|
||||||
<ArrowForward />
|
<ArrowForward />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user