Skip to content

Commit

Permalink
fix: service ref error
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi committed Nov 21, 2022
1 parent 8086b6d commit 020bd12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/setting/setting-system.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
/>
)
}
Expand All @@ -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>
Expand Down

0 comments on commit 020bd12

Please sign in to comment.