import React from 'react'; import { Page } from '../Page'; import { Dashboard } from './Dashboard'; import { useUserProfileQuery } from '../../gql/queries/profile'; import { WithLoader } from '../WithLoader'; export function HomePage() { const { data, loading } = useUserProfileQuery(); const { userProfile } = (data || {}); return (
{ userProfile ? :

Veuillez vous authentifier.

}
); }