fpl-solver / frontend /src /utils /teams.js
AnayShukla's picture
Clean Production Release
f7cecf3
export const TEAM_SHORTS = {
"Arsenal": "ARS", "Aston Villa": "AVL", "Burnley": "BUR", "AFC Bournemouth": "BOU",
"Brentford": "BRE", "Brighton and Hove Albion": "BHA", "Chelsea": "CHE",
"Crystal Palace": "CRY", "Everton": "EVE", "Fulham": "FUL", "Leeds United": "LEE",
"Liverpool": "LIV", "Manchester City": "MCI", "Manchester United": "MUN",
"Newcastle United": "NEW", "Nottingham Forest": "NFO", "Sunderland": "SUN",
"Tottenham Hotspur": "TOT", "West Ham United": "WHU", "Wolverhampton Wanderers": "WOL",
"Bournemouth": "BOU", "Brighton": "BHA", "Man City": "MCI", "Man Utd": "MUN",
"Newcastle": "NEW", "Nott'm Forest": "NFO", "Spurs": "TOT", "West Ham": "WHU", "Wolves": "WOL"
};
export const getShortName = (fullName) => TEAM_SHORTS[fullName] || fullName;