CoastalCommitsPastes/client/app/page.tsx

13 lines
305 B
TypeScript
Raw Normal View History

2022-11-09 21:38:05 -05:00
import { getWelcomeContent } from "pages/api/welcome"
const getWelcomeData = async () => {
const welcomeContent = await getWelcomeContent()
return welcomeContent
}
export default async function Page() {
const welcomeData = await getWelcomeData()
return <h1>{JSON.stringify(welcomeData)}</h1>
2022-11-09 01:14:43 -05:00
}