import type { NextPage } from 'next'; import Head from 'next/head'; import { Container } from '../components/common/Container/Container'; import { Header } from '../components/common/Header/Header'; import useUser from '../lib/hooks/useUser'; const Home: NextPage = () => { const { user } = useUser({ redirectTo: '/login' }); return ( <>