Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFeddes committed Nov 12, 2023
1 parent 17e3fd0 commit 32c175a
Show file tree
Hide file tree
Showing 29 changed files with 10,883 additions and 2,980 deletions.
101 changes: 47 additions & 54 deletions public/images/nbaLogos/1610612737.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
184 changes: 87 additions & 97 deletions public/images/nbaLogos/1610612738.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 3 additions & 50 deletions public/images/nbaLogos/1610612739.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 55 additions & 17 deletions public/images/nbaLogos/1610612740.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 136 additions & 2 deletions public/images/nbaLogos/1610612741.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 39 additions & 58 deletions public/images/nbaLogos/1610612742.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 18 additions & 62 deletions public/images/nbaLogos/1610612743.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,096 changes: 1,045 additions & 51 deletions public/images/nbaLogos/1610612744.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 13 additions & 53 deletions public/images/nbaLogos/1610612746.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 44 additions & 34 deletions public/images/nbaLogos/1610612747.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
103 changes: 54 additions & 49 deletions public/images/nbaLogos/1610612749.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
114 changes: 48 additions & 66 deletions public/images/nbaLogos/1610612750.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 44 additions & 34 deletions public/images/nbaLogos/1610612751.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 56 additions & 55 deletions public/images/nbaLogos/1610612752.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
404 changes: 115 additions & 289 deletions public/images/nbaLogos/1610612753.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
320 changes: 33 additions & 287 deletions public/images/nbaLogos/1610612754.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,761 changes: 1,469 additions & 292 deletions public/images/nbaLogos/1610612755.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,095 changes: 1,067 additions & 28 deletions public/images/nbaLogos/1610612756.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
683 changes: 612 additions & 71 deletions public/images/nbaLogos/1610612758.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
790 changes: 747 additions & 43 deletions public/images/nbaLogos/1610612759.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,594 changes: 1,561 additions & 33 deletions public/images/nbaLogos/1610612760.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
502 changes: 466 additions & 36 deletions public/images/nbaLogos/1610612762.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
859 changes: 810 additions & 49 deletions public/images/nbaLogos/1610612763.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,247 changes: 522 additions & 725 deletions public/images/nbaLogos/1610612764.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
910 changes: 822 additions & 88 deletions public/images/nbaLogos/1610612765.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,314 changes: 963 additions & 351 deletions public/images/nbaLogos/1610612766.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/components/DraftRoom/rightColumn/RightColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const RightColumn = () => {
useEffect(() => {
socket?.on('update-total-draftpicks', (allPicks) => {
setPicks(allPicks);
console.log(allPicks);
});
}, [socket]);

Expand Down
10 changes: 5 additions & 5 deletions src/components/PlayerInfoPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ const PlayerInfoPopup = (props: Props) => {
</thead>
<tbody>
<tr>
<td>{(player.projected_points/player.games_played).toFixed(1)}</td>
<td>{(player.projected_rebounds/player.games_played).toFixed(1)}</td>
<td>{(player.projected_assists/player.games_played).toFixed(1)}</td>
<td>{(player.projected_steals/player.games_played).toFixed(1)}</td>
<td>{(player.projected_blocks/player.games_played).toFixed(1)}</td>
<td>{(player.projected_points/player.projected_games_played).toFixed(1)}</td>
<td>{(player.projected_rebounds/player.projected_games_played).toFixed(1)}</td>
<td>{(player.projected_assists/player.projected_games_played).toFixed(1)}</td>
<td>{(player.projected_steals/player.projected_games_played).toFixed(1)}</td>
<td>{(player.projected_blocks/player.projected_games_played).toFixed(1)}</td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttons/PlayerInfoPopupButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const PlayerInfoPopupButton = (props: Props) => {
return (
<span className="player-popup-btn" onClick={() => props.setPlayer(props.player)}>
{props.player.first_name+" "+props.player.last_name} <b>{props.player.injury_status}</b>
{props.player.team_id && daysDiff > 8 && (
{props.player.team_id && daysDiff < 7 && (
<img
src={`/images/news.svg`}
onError={(event) => {
Expand Down

0 comments on commit 32c175a

Please sign in to comment.