import { useRecoilState } from 'recoil'
import Profile from "./Profile"
import Links from "./Links"
import Keys from "./Keys"
import Spotify from "./Spotify"
import Services from "./Services"
import { currentPage, Pages } from "./Menu"
export default function ContentRenderer() {
const [page, _] = useRecoilState(currentPage);
return (
<>
{ page === Pages.Profile && <>> }
{ page === Pages.Links && }
{ page === Pages.Keys && }
{ page === Pages.Services && }
>
)
}