mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: service ref error
This commit is contained in:
parent
8086b6d78c
commit
020bd129fb
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user