fix: service ref error

This commit is contained in:
GyDi 2022-11-21 22:33:06 +08:00
parent 8086b6d78c
commit 020bd129fb
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -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>