From bbb11b8a8b28dbb4f88e8d5688b9da3590f47a21 Mon Sep 17 00:00:00 2001 From: Mikael Lindlof Date: Fri, 11 Dec 2020 01:12:56 +0000 Subject: [PATCH] Don't abandon entry on all issues --- web/src/App.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 0d5f429..62c27f7 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -117,8 +117,7 @@ const playGame = async ( console.log('txn', res.transactionHash); } catch (e) { if (e.message !== 'ciphertext not set') { - setGame(undefined); - enqueueSnackbar('Failed', { variant: 'error' }); + enqueueSnackbar('Game creation erroring', { variant: 'error' }); console.log('playGame error', e); return; }