diff --git a/web/src/pages/accounts/$id/index.tsx b/web/src/pages/accounts/$id/index.tsx index 977621f..afd01a9 100644 --- a/web/src/pages/accounts/$id/index.tsx +++ b/web/src/pages/accounts/$id/index.tsx @@ -152,30 +152,30 @@ export default function Page() { // 页头 content 行右侧:返回/强制同步/编辑注册到 Layout 页头槽,不在卡片内重复渲染。 usePageActions( - account ? ( - - - - - - ) : null, + + + + + , [account?.id], ); diff --git a/web/src/pages/accounts/monitoring/$id/index.tsx b/web/src/pages/accounts/monitoring/$id/index.tsx index cdc9b24..527dc70 100644 --- a/web/src/pages/accounts/monitoring/$id/index.tsx +++ b/web/src/pages/accounts/monitoring/$id/index.tsx @@ -87,49 +87,49 @@ export default function Page() { ); usePageActions( - competitor ? ( - - - - - - ) : null, + + + + + , [competitor?.id, competitor?.enabled], );