Skip to content

Commit

Permalink
Bug fix: spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
esmalleydev committed Mar 5, 2024
1 parent cc9c4a0 commit 66a9027
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/generic/CBB/Compare/Player/Client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Client = ({ teams }) => {
const hideLowerBench = useAppSelector(state => state.compareReducer.hideLowerBench);
const topPlayersOnly = useAppSelector(state => state.compareReducer.topPlayersOnly);

const gaurds: string[] = [];
const guards: string[] = [];
const forwards: string[] = [];
const centers: string[] = [];
let topPlayers: string[] = [];
Expand All @@ -76,7 +76,7 @@ const Client = ({ teams }) => {
centers.push(player_id);
}
if (player.position === 'G') {
gaurds.push(player_id);
guards.push(player_id);
}

players[player_id] = player;
Expand Down Expand Up @@ -355,10 +355,10 @@ const Client = ({ teams }) => {
</> :
<>
{
gaurds.length ?
guards.length ?
<>
<Typography variant='h6'>Gaurds</Typography>
{getTable(gaurds)}
<Typography variant='h6'>Guards</Typography>
{getTable(guards)}
</>
: ''
}
Expand Down

0 comments on commit 66a9027

Please sign in to comment.