Skip to content

Commit

Permalink
fix(fe): updates 20240226
Browse files Browse the repository at this point in the history
  • Loading branch information
a-buono committed Feb 26, 2024
1 parent 9d4a0c6 commit 5ac3198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fe-piattaforma/src/redux/features/forum/forumThunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ const GetItemsListAction = {
type: 'forum/GetItemsList',
};
export const GetItemsList =
(entity: 'board' | 'community' | 'document') =>
(entity: 'board' | 'forum' | 'document') =>
async (dispatch: Dispatch, select: Selector) => {
try {
dispatch(showLoader());
Expand Down Expand Up @@ -491,7 +491,7 @@ export const GetItemsList =
case 'board':
dispatch(setNewsList(res.data.data.items));
break;
case 'community':
case 'forum':
dispatch(setTopicsList(res.data.data.items));
break;
case 'document':
Expand Down

0 comments on commit 5ac3198

Please sign in to comment.