summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Config.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/Config.tsx b/src/components/Config.tsx
index ee000cd..b40f9f3 100644
--- a/src/components/Config.tsx
+++ b/src/components/Config.tsx
@@ -195,14 +195,20 @@ function ConfigImpl({
case 'latencyTestUrl': {
updateAppConfig(name, value);
break;
- }
+ }
+ case 'device name':
+ case 'interface name':
+ break;
default:
throw new Error(`unknown input name ${name}`);
}
},
[apiConfig, dispatch, updateAppConfig]
);
-
+ const handlechangeDevice = {
+ return: configState.tun?.device
+ }
+ const handlechangeInter = {}
const handleReloadConfigFile = useCallback(() => {
dispatch(reloadConfigFile(apiConfig));
}, [apiConfig, dispatch]);