import { StatusBar } from 'expo-status-bar' import { View, Image} from 'react-native' import React from 'react'; import stylesScreen from './style/screens.style' import { TopBar } from '../components/TopBar'; import { BotBar } from '../components/BotBar'; import { Conversation } from '../core/conversation'; import { ButtonGameTypeChoice } from '../components/ButtonGameTypeChoice'; import { useMatchStore } from '../context/matchContext'; function LobbySolo(props: { navigation: any; }) { const { navigation } = props const match = useMatchStore().match; return ( navigation.navigate(match?.getGame().getName().replace(/\s/g, ''))} /> ); } export default LobbySolo