fix: service ref error

This commit is contained in:
GyDi
2022-11-21 22:33:06 +08:00
Unverified
parent 0d3ffe210f
commit b4bc4f5ddc

View File

@@ -74,7 +74,7 @@ const SettingSystem = ({ onError }: Props) => {
<PrivacyTipRounded
fontSize="small"
style={{ cursor: "pointer", opacity: 0.75 }}
onClick={() => sysproxyRef.current?.open()}
onClick={() => serviceRef.current?.open()}
/>
)
}
@@ -95,7 +95,7 @@ const SettingSystem = ({ onError }: Props) => {
color="inherit"
size="small"
sx={{ my: "2px" }}
onClick={() => sysproxyRef.current?.open()}
onClick={() => serviceRef.current?.open()}
>
<ArrowForward />
</IconButton>