import {ReactNode} from 'react' import {cookies} from 'next/headers' export type ProfileProps = {} export default async function Profile(props: ProfileProps) { const store = await cookies() const info = store.get('auth_info')?.value const data = info ? JSON.parse(info) : undefined return (