import type { Metadata } from "next";
import "../../styles/globals.css";
import type { AppType } from "next/app";
import { trpc } from "../utils/trpc";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
const MyApp: AppType = ({ Component, pageProps }) => {
// return <Component {...pageProps} />;
return (
<html lang="en">
<body>
<Component {...pageProps} />
</body>
</html>
);
};
export default trpc.withTRPC(MyApp);
import type { Metadata } from "next";
import "../../styles/globals.css";
import type { AppType } from "next/app";
import { trpc } from "../utils/trpc";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
const MyApp: AppType = ({ Component, pageProps }) => {
// return <Component {...pageProps} />;
return (
<html lang="en">
<body>
<Component {...pageProps} />
</body>
</html>
);
};
export default trpc.withTRPC(MyApp);