From e89d09b95bfa6babb3341f085ed6789243b7dfe1 Mon Sep 17 00:00:00 2001 From: aguilhot Date: Tue, 6 Dec 2022 15:18:24 +0100 Subject: [PATCH] push pour toto --- bob_party/src/screens/LobbySolo.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bob_party/src/screens/LobbySolo.tsx b/bob_party/src/screens/LobbySolo.tsx index 2701b5e..ad51edc 100644 --- a/bob_party/src/screens/LobbySolo.tsx +++ b/bob_party/src/screens/LobbySolo.tsx @@ -6,6 +6,8 @@ import { TopBar } from '../components/TopBar'; import { BotBar } from '../components/BotBar'; import { Conversation } from '../core/conversation'; import { ButtonGameTypeChoice } from '../components/ButtonGameTypeChoice'; +import { MANAGER_MATCH } from '../../App'; +import { useMatchStore } from '../context/matchContext'; @@ -15,6 +17,7 @@ function LobbySolo(props: { navigation: any; }) { const { navigation } = props + const match = useMatchStore().match; return ( @@ -24,6 +27,10 @@ function LobbySolo(props: { navigation: any; }) { onPress={() => navigation.navigate('GameChoice')} /> + + ); }