Skip to content

Commit

Permalink
Fix Ligue match without team
Browse files Browse the repository at this point in the history
  • Loading branch information
GektorGrom committed May 22, 2023
1 parent 17fad8d commit 5af2da5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/getClubLogo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const getClubLogo = (team: string):string => {
if (!team) {
return 'ligue1_square.png';
}
let t = team.toLowerCase();
// Paris Saint-Germain
if (t.includes('paris') || t.includes('psg')) {
Expand Down

0 comments on commit 5af2da5

Please sign in to comment.