Skip to content

Commit

Permalink
chore: update text, link and dropdown (#69)
Browse files Browse the repository at this point in the history
* chore: update email subject

* chore: update report link url

* chore: update education stage dropdown in search group page
  • Loading branch information
JohnsonMao authored Jul 24, 2024
1 parent 6684c89 commit d8134bc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions components/Group/SearchField/SelectedEducationStep.jsx
Original file line number Diff line number Diff line change
@@ -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();
Expand All @@ -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) =>
Expand Down
2 changes: 1 addition & 1 deletion components/Group/detail/Contact/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function ContactButton({
photoUrl: me.photoURL,
from: me.email,
to: user.email,
subject: '【島島阿學】點開 Email,認識新夥伴',
subject: '【島島阿學】點開 Email,揪團有新消息',
activityTitle,
title: '你發起的揪團有人來信!',
text: message,
Expand Down
2 changes: 1 addition & 1 deletion components/Group/detail/More.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function More() {
>
<MenuItem
component="a"
href="https://docs.google.com/forms/d/e/1FAIpQLSfgpHNzm9OAk44Jbgamkq7--odZfC3h4vgw96DPLYvZ07wC_g/viewform"
href="https://forms.gle/NkVbDWC3eXk4P4gv7"
target="_blank"
sx={{ minWidth: '146px' }}
onClick={handleClose}
Expand Down
2 changes: 1 addition & 1 deletion components/Profile/UserCard/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function Dropdown({ sx }) {
<StyledMenu anchorEl={anchorEl} open={open} onClose={handleClose}>
<MenuItem
component="a"
href="https://docs.google.com/forms/d/e/1FAIpQLSfgpHNzm9OAk44Jbgamkq7--odZfC3h4vgw96DPLYvZ07wC_g/viewform"
href="https://forms.gle/NkVbDWC3eXk4P4gv7"
target="_blank"
sx={{ minWidth: '146px' }}
onClick={handleClose}
Expand Down

0 comments on commit d8134bc

Please sign in to comment.