import MatchGame from 'components/MatchGame/MatchGame';
import MatchMenu from 'components/MatchMenu/MatchMenu';
import { useMatchGame } from 'context/MatchGameContext';
import React from 'react';
const AppRoutes = () => {
const {currentMenuItem} = useMatchGame();
function getRootComponent () {
switch (currentMenuItem) {
case 'menu':
return ;
case 'continue-game':
return ;
case 'new-game':
return ;
default: return ;
}
}
return getRootComponent();
};
export default AppRoutes;