Skip to content

Commit

Permalink
Merge pull request #17 from sparcs-kaist/develop
Browse files Browse the repository at this point in the history
hotfix/Update fetchZaboThunk.ts
  • Loading branch information
jinho-choi123 authored May 10, 2024
2 parents 59eb86c + 40ed50b commit 68e632a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/redux/zabos/fetchZaboThunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const fetchZaboThunk = () => async (dispatch: AppDispatch) => {
// add state field
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const parsedZabos = data.map((zabo: any, index: number) => {
const { title, description, likesCount, views, score, effectiveViews } =
const { title, description, likesCount, views, score, effectiveViews, showBoard } =
zabo;
/* eslint-disable-next-line no-underscore-dangle */
const id = zabo._id;
Expand Down Expand Up @@ -67,6 +67,7 @@ export const fetchZaboThunk = () => async (dispatch: AppDispatch) => {
views,
score,
effectiveViews,
showBoard
};
});

Expand Down

0 comments on commit 68e632a

Please sign in to comment.