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

---
 app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/cardView.tsx |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git "a/app/\050commonLayout\051/app/\050appDetailLayout\051/\133appId\135/overview/cardView.tsx" "b/app/\050commonLayout\051/app/\050appDetailLayout\051/\133appId\135/overview/cardView.tsx"
index 79b4594..8f3ee51 100644
--- "a/app/\050commonLayout\051/app/\050appDetailLayout\051/\133appId\135/overview/cardView.tsx"
+++ "b/app/\050commonLayout\051/app/\050appDetailLayout\051/\133appId\135/overview/cardView.tsx"
@@ -24,11 +24,9 @@
 
 export type ICardViewProps = {
   appId: string
-  isInPanel?: boolean
-  className?: string
 }
 
-const CardView: FC<ICardViewProps> = ({ appId, isInPanel, className }) => {
+const CardView: FC<ICardViewProps> = ({ appId }) => {
   const { t } = useTranslation()
   const { notify } = useContext(ToastContext)
   const appDetail = useAppStore(state => state.appDetail)
@@ -122,11 +120,10 @@
     return <Loading />
 
   return (
-    <div className={className || 'mb-6 grid w-full grid-cols-1 gap-6 xl:grid-cols-2'}>
+    <div className="grid gap-6 grid-cols-1 xl:grid-cols-2 w-full mb-6">
       <AppCard
         appInfo={appDetail}
         cardType="webapp"
-        isInPanel={isInPanel}
         onChangeStatus={onChangeSiteStatus}
         onGenerateCode={onGenerateCode}
         onSaveSiteConfig={onSaveSiteConfig}
@@ -134,7 +131,6 @@
       <AppCard
         cardType="api"
         appInfo={appDetail}
-        isInPanel={isInPanel}
         onChangeStatus={onChangeApiStatus}
       />
     </div>

--
Gitblit v1.8.0