From 27882128fe44ea9844d1816a03f6ce670e69692c Mon Sep 17 00:00:00 2001 From: ChrQR Date: Mon, 13 May 2024 17:50:56 +0200 Subject: [PATCH] cleaned up --- src/app/page.tsx | 57 +----------------------------------------------- 1 file changed, 1 insertion(+), 56 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 098c794..7c88bff 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,60 +6,5 @@ import { api } from "~/trpc/server"; export default async function Home() { const hello = await api.post.hello({ text: "from tRPC" }); - return ( -
-
-

- Create T3 App -

-
- -

First Steps →

-
- Just the basics - Everything you need to know to set up your - database and authentication. -
- - -

Documentation →

-
- Learn more about Create T3 App, the libraries it uses, and how to - deploy it. -
- -
-
-

- {hello ? hello.greeting : "Loading tRPC query..."} -

-
- - -
-
- ); -} - -async function CrudShowcase() { - const latestPost = await api.post.getLatest(); - - return ( -
- {latestPost ? ( -

Your most recent post: {latestPost.name}

- ) : ( -

You have no posts yet.

- )} - - -
- ); + return
; }