From 0c78aadf1e2cacc08cc2aa8d5fcf0188782550f2 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 23 Oct 2024 17:52:36 +0700 Subject: [PATCH] fix: hidden box dropdown hardware if no list (#3872) --- web/screens/Settings/Advanced/index.tsx | 42 ++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index 5b78194ab7..66cf9dc24f 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -315,25 +315,25 @@ const Advanced = () => { - {gpuList.length > 0 && ( -
- -
- - } - onClick={() => setOpen(!open)} - /> +
+ +
+ + } + onClick={() => setOpen(!open)} + /> + {gpuList.length > 0 && (
{
-
+ )}
- )} + )}