Skip to content

Commit

Permalink
Merge pull request #23 from daodaoedu/fix/2.1_partner_add_api
Browse files Browse the repository at this point in the history
fix(partner): show Search ui Tag and queryParams of user api
  • Loading branch information
hsuifang authored Jan 2, 2024
2 parents ca536a8 + 97379a9 commit 95e1858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/Partner/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const keySelections = {
q: 'PASS_STRING',
};

const eduObj = createObjFromArrary(EDUCATION_STEP);
const roleObj = createObjFromArrary(ROLE);
const eduObj = createObjFromArrary(EDUCATION_STEP, 'label', 'key');
const roleObj = createObjFromArrary(ROLE, 'label', 'key');

function Partner() {
const dispatch = useDispatch();
Expand Down Expand Up @@ -102,7 +102,7 @@ function Partner() {
<StyledContent>
<SearchParamsList
paramsKey={['area', 'role', 'edu', 'tag', 'q']}
keySelections={keySelections}
paramsKeyOptions={keySelections}
/>
<PartnerList />
</StyledContent>
Expand Down

1 comment on commit 95e1858

@vercel
Copy link

@vercel vercel bot commented on 95e1858 Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

daodao-f2e – ./

daodao-f2e.vercel.app
daodao-f2e-git-dev-daodaoedu.vercel.app
daodao-f2e-daodaoedu.vercel.app

Please sign in to comment.