import type { NextPage } from 'next' import Head from 'next/head' import Image from 'next/image' import { useGetUpcomingQuery } from '../lib/graphql/generated' const Home: NextPage = () => { const { data } = useGetUpcomingQuery() console.log(data) return (
Create Next App

Welcome to{' '} Next.js!

Get started by editing{' '} pages/index.tsx

Documentation →

Find in-depth information about Next.js features and its API.

Learn →

Learn about Next.js in an interactive course with quizzes!

Examples →

Discover and deploy boilerplate example Next.js projects.

Deploy →

Instantly deploy your Next.js site to a public URL with Vercel.

) } export default Home function GetUpcomingDocument(GetUpcomingDocument: any): { data: any } { throw new Error('Function not implemented.') }