diff --git a/web/src/GamePlaying.tsx b/web/src/GamePlaying.tsx
index 2f50212..f55f30d 100644
--- a/web/src/GamePlaying.tsx
+++ b/web/src/GamePlaying.tsx
@@ -76,8 +76,28 @@ const GamePlaying = (props: Props) => {
};
if (game.stage === Game.Stage.Creating) {
- return ;
- // TODO: Leaving game is not getting created
+ console.log('createdAt', game.createdAt);
+ const now = Number(new Date());
+ // TODO: Confirmation dialog
+ // TODO: If we can see that entry transaction was rejected abandon automatically
+ return (
+
+
+ {game.createdAt + 10 * 1000 < now && (
+
+
+ This is taking a while. You can abandon if your entry transaction doesn't go through.
+
+
+ Otherwise, abandoning results in loss of your entry funds (10 SCRT).
+
+
+