From d8134bca8699e4828c38910918432e10fee29af2 Mon Sep 17 00:00:00 2001 From: Johnson Mao <86179381+JohnsonMao@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:07:22 +0800 Subject: [PATCH] chore: update text, link and dropdown (#69) * chore: update email subject * chore: update report link url * chore: update education stage dropdown in search group page --- components/Group/SearchField/SelectedEducationStep.jsx | 6 ++---- components/Group/detail/Contact/index.jsx | 2 +- components/Group/detail/More.jsx | 2 +- components/Profile/UserCard/Dropdown.jsx | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/components/Group/SearchField/SelectedEducationStep.jsx b/components/Group/SearchField/SelectedEducationStep.jsx index d1f856da..b415449b 100644 --- a/components/Group/SearchField/SelectedEducationStep.jsx +++ b/components/Group/SearchField/SelectedEducationStep.jsx @@ -1,9 +1,7 @@ import Select from '@/shared/components/Select'; -import { EDUCATION_STEP } from '@/constants/member'; +import { EDUCATION_STAGE } from '@/constants/member'; import useSearchParamsManager from '@/hooks/useSearchParamsManager'; -const EduStep = EDUCATION_STEP.slice(0, 7); - export default function SelectedEducationStep() { const QUERY_KEY = 'partnerEducationStep'; const [getSearchParams, pushState] = useSearchParamsManager(); @@ -17,7 +15,7 @@ export default function SelectedEducationStep() { multiple value={getSearchParams(QUERY_KEY)} onChange={handleChange} - items={EduStep} + items={EDUCATION_STAGE} itemLabel="label" itemValue="label" renderValue={(selected) => diff --git a/components/Group/detail/Contact/index.jsx b/components/Group/detail/Contact/index.jsx index 52b4c9d9..10c928ea 100644 --- a/components/Group/detail/Contact/index.jsx +++ b/components/Group/detail/Contact/index.jsx @@ -98,7 +98,7 @@ function ContactButton({ photoUrl: me.photoURL, from: me.email, to: user.email, - subject: '【島島阿學】點開 Email,認識新夥伴', + subject: '【島島阿學】點開 Email,揪團有新消息', activityTitle, title: '你發起的揪團有人來信!', text: message, diff --git a/components/Group/detail/More.jsx b/components/Group/detail/More.jsx index f2be94b3..d8174dff 100644 --- a/components/Group/detail/More.jsx +++ b/components/Group/detail/More.jsx @@ -41,7 +41,7 @@ export default function More() { >