import { Layout } from '@components/core' import { Container, Text } from '@components/ui' import useCustomer from '@bigcommerce/storefront-data-hooks/dist/use-customer' export default function Profile() { const { data } = useCustomer() return ( My Profile {data && (
Full Name {data.firstName} {data.lastName}
Email {data.email}
)}
) } Profile.Layout = Layout