Skip to content

Commit

Permalink
Remove placeholder users from RuneScapeSlide.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinjil committed Feb 26, 2024
1 parent 49379b7 commit c6b5060
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/beamer/panels/slides/RuneScapeSlide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default function RuneScapeSlide(props: RuneScapeSlideProps) {
fetch(`${RS_API}/hiscores/playersBySkill/${props.world}/${skill}`, {mode: 'cors'})
.then(res => res.json())
.then((body: PlayerData[]) => {
for (let i = 0; i < 100; ++i) {body.push({'username': 'x', 'level': 1, 'xp': 0})}
setHiscores(body.slice(0,16));
setSkillLoaded(true);
})
Expand Down

0 comments on commit c6b5060

Please sign in to comment.