Skip to content

Commit

Permalink
Fix promo posts
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Oct 26, 2023
1 parent 20751a1 commit ffd1c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/redux/FetchDataSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export function* fetchData(action) {
// Add top 3 from promo to tranding and 1 to hot, created
args[0].limit = order == 'trending' ? 3 : 1
const promo_posts = yield call([api, api[PUBLIC_API.promoted]], ...args);
data = data.concat(promo_posts)
data = promo_posts.concat(data)
}
}

Expand Down

0 comments on commit ffd1c13

Please sign in to comment.