From 419ea7de65ffb6f6c560adb03f71f04801bebac2 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sun, 29 May 2022 20:46:47 +0800 Subject: fix: hide extra setting of meta on config page --- src/components/Config.tsx | 70 +++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 39 deletions(-) (limited to 'src/components') diff --git a/src/components/Config.tsx b/src/components/Config.tsx index 9f538b6..41ffdd7 100644 --- a/src/components/Config.tsx +++ b/src/components/Config.tsx @@ -287,12 +287,12 @@ function ConfigImpl({ } - -
+
- - {version.meta &&
+ { version.meta && + <> +
{t('enable_tun_device')}
@@ -304,7 +304,6 @@ function ConfigImpl({ />
-
TUN IP Stack