Debug section
{/* {(metadataQuery.isPending) ?metadataQuery as follows
*/} {/*{JSON.stringify(metadataQuery.data, null, 2)}
*/}
session as follows
{JSON.stringify(session, null, 2)}{(session.status === 'unauthenticated') &&
{username}
*/}{session.data?.user?.name}
Hey look at you, you're granted access to this perk!
{JSON.stringify(metadataQuery.data, null, 2)}
// return @todo
// if (!isPending) returnthere is no data
; // if (!data?.metadata) returnthere is no data.metadata
; // const { first_name, last_name } = data.metadata // const username = formatPatronUsername(first_name, last_name) // const { metadata } = data || {} // const { isUsernamePublic } = metadata // return ( // <> //
// {isPending &&
//
{username}
} // //{sessionContext.userId}
//