Skip to content

Commit

Permalink
Fix the getter
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Dec 10, 2024
1 parent 7f50b74 commit 0c0f6b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const PlayerRecentMatchesTab = ({
(async () => {
setIsLoading(true);
try {
const data = await getPlayerRecentMatches(profileID, "");
const data = await getPlayerRecentMatches(profileID);

if (customGamesHidden && data.length > 0) {
setMatchData(data.filter((match) => match.matchtype_id !== 0));
Expand Down

0 comments on commit 0c0f6b9

Please sign in to comment.