فهرست منبع

fix: service ref error

GyDi 2 سال پیش
والد
کامیت
020bd129fb
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/components/setting/setting-system.tsx

+ 2 - 2
src/components/setting/setting-system.tsx

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