fix: improve codebase structure

This commit is contained in:
KodekaTeam committed 2026-06-14 01:20:06 +07:00
1 parent f3c44629e2
commit 2815de9e14
1 file changed
+3 -8
@@ -1118,11 +1118,7 @@ export default function AppContainerDetailPage() {
window.clearInterval(intervalId);
document.removeEventListener("visibilitychange", handleVisibilityChange);
};
}, [
appDetailId,
containerRecord?.status,
refreshRuntimeMetrics,
]);
}, [appDetailId, containerRecord?.status, refreshRuntimeMetrics]);
useEffect(() => {
if (!logsAutoRefresh) return;
@@ -1269,9 +1265,8 @@ export default function AppContainerDetailPage() {
refreshing={logsRefreshing}
onAutoRefreshChange={setLogsAutoRefresh}
/>
) : activeTab === "terminal" ? (
null
) : activeTab === "deployments" ? (
) : activeTab === "terminal" ? null : activeTab ===
"deployments" ? (
<DeploymentsTabPanel deployments={appDetail.deployments} />
) : activeTab === "advanced" ? (
<AdvancedTabPanel