From 4c8e3c27f8f33d7f3585dc3c1833cea2d81b6a0c Mon Sep 17 00:00:00 2001 From: willer613 Date: Wed, 17 Aug 2022 22:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhosts.on=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8B=E5=88=A0=E9=99=A4=E8=AE=B0=E5=BD=95=E9=80=A0=E6=88=90?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/renderer/components/EditHostsInfo.tsx | 2 +- src/renderer/components/List/ListItem.tsx | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 95f3faff7..465f9a945 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "espower-typescript": "^10.0.0", "execa": "^6.1.0", "fork-ts-checker-webpack-plugin": "^7.2.11", + "framer-motion": "^7.2.0", "fs-extra": "^10.1.0", "mocha": "^10.0.0", "power-assert": "^1.6.1", diff --git a/src/renderer/components/EditHostsInfo.tsx b/src/renderer/components/EditHostsInfo.tsx index e0df75b8d..52a7d26f4 100644 --- a/src/renderer/components/EditHostsInfo.tsx +++ b/src/renderer/components/EditHostsInfo.tsx @@ -282,7 +282,7 @@ const EditHostsInfo = () => { const footer_buttons = ( - {is_add ? null : ( + {is_add ? null :hosts?.on?null: (