Skip to content

Commit

Permalink
chore: temp change for filter invalid ranking
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdgustn committed Dec 21, 2022
1 parent 579c086 commit f4398a4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/routes/awc2023/AWCRankingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,14 @@ const AWCRankingPage = () => {
}
});

dispatch({ type: 'FETCH_RESULT', items: response.data.data });
// 랭킹 테러 대응을 위한 임시 변경사항
dispatch({ type: 'FETCH_RESULT', items: response.data.data.filter(a =>
!a.isTimingScaleChanged)
&& !a.playerName.includes('⛧')
&& !a.playerName.includes('⚝')
&& !/.*#\d{4}$/g.test(a.discordUsername)
&& !a.hitMargins[3] <= 1657
});
} catch (e) {
dispatch({ type: 'FETCH_ERROR', error: e });
}
Expand Down

0 comments on commit f4398a4

Please sign in to comment.