From d0b4c236085d1dd49747f4e1ef859da8432a16ec Mon Sep 17 00:00:00 2001 From: chaojun Date: Mon, 1 Jun 2026 14:30:35 +0800 Subject: [PATCH] fix: update salary summary item title, #7344 --- .../fellowship/finance/currentSalaryCycle/index.jsx | 8 ++++---- .../summary/allianceOverviewSummary/index.js | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/next-common/components/overview/fellowship/finance/currentSalaryCycle/index.jsx b/packages/next-common/components/overview/fellowship/finance/currentSalaryCycle/index.jsx index 97709674fd..111861115e 100644 --- a/packages/next-common/components/overview/fellowship/finance/currentSalaryCycle/index.jsx +++ b/packages/next-common/components/overview/fellowship/finance/currentSalaryCycle/index.jsx @@ -22,14 +22,14 @@ function CurrentSalaryCycle({ title = "Current Salary Cycle", cycleIndex }) { ); } -export function FellowshipCurrentSalaryCycleLoading() { +export function FellowshipCurrentSalaryCycleLoading({ + title = "Current Salary Cycle", +}) { return ( - - Current Salary Cycle - + {title} } > diff --git a/packages/next-common/components/summary/allianceOverviewSummary/index.js b/packages/next-common/components/summary/allianceOverviewSummary/index.js index 7ae428ace4..4cf1306467 100644 --- a/packages/next-common/components/summary/allianceOverviewSummary/index.js +++ b/packages/next-common/components/summary/allianceOverviewSummary/index.js @@ -10,19 +10,19 @@ import CollectivesProvider from "next-common/context/collectives/collectives"; import { isNil } from "lodash-es"; import { useFellowshipSalaryStats } from "next-common/hooks/fellowship/salary/useFellowshipSalaryStats"; -function FellowshipCurrentSalaryCycleSummary() { +function FellowshipCurrentSalaryCycleSummary({ title }) { const fellowshipSalaryStats = useFellowshipSalaryStats(); if ( isNil(fellowshipSalaryStats) || isNil(fellowshipSalaryStats?.cycleIndex) ) { - return ; + return ; } const { cycleIndex } = fellowshipSalaryStats; - return ; + return ; } export default function AllianceOverviewSummary() { @@ -47,10 +47,10 @@ export default function AllianceOverviewSummary() { /> - + - + );