'use client';
import { useTRPC } from '@repo/client';
import { useQuery } from '@tanstack/react-query';
import { useEffect } from 'react';

export default function Home() {
	const trpc = useTRPC();
	const { data, isLoading } = useQuery(trpc.user.getUser.queryOptions());
	useEffect(() => {
		console.log(data);
	}, [data]);
	return <div>123</div>;
}
