From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/app/log-annotation/index.tsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/components/app/log-annotation/index.tsx b/app/components/app/log-annotation/index.tsx
index 12a611e..696cc19 100644
--- a/app/components/app/log-annotation/index.tsx
+++ b/app/components/app/log-annotation/index.tsx
@@ -30,7 +30,7 @@
       { value: PageType.log, text: t('appLog.title') },
       { value: PageType.annotation, text: t('appAnnotation.title') },
     ]
-  }, [appDetail?.mode, t])
+  }, [appDetail])
 
   if (!appDetail) {
     return (
@@ -41,7 +41,7 @@
   }
 
   return (
-    <div className='flex h-full flex-col px-6 pt-3'>
+    <div className='pt-3 px-6 h-full flex flex-col'>
       {appDetail.mode !== 'workflow' && (
         <TabSlider
           className='shrink-0'
@@ -52,7 +52,7 @@
           options={options}
         />
       )}
-      <div className={cn('h-0 grow', appDetail.mode !== 'workflow' && 'mt-3')}>
+      <div className={cn('grow h-0', appDetail.mode !== 'workflow' && 'mt-3')}>
         {pageType === PageType.log && appDetail.mode !== 'workflow' && (<Log appDetail={appDetail} />)}
         {pageType === PageType.annotation && (<Annotation appDetail={appDetail} />)}
         {pageType === PageType.log && appDetail.mode === 'workflow' && (<WorkflowLog appDetail={appDetail} />)}

--
Gitblit v1.8.0