Skip to content

Commit

Permalink
Fix (gracias Teban)
Browse files Browse the repository at this point in the history
  • Loading branch information
durancristhian committed Aug 25, 2020
1 parent 46acf42 commit 59af753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/games/[gameId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const GameId = () => {
return <p className="italic text-center">There was an error.</p>
}

if (!data || data.id) {
if (!data || !data.id) {
return <p className="italic text-center">There is no challenge.</p>
}

Expand Down

1 comment on commit 59af753

@vercel
Copy link

@vercel vercel bot commented on 59af753 Aug 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.