mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
305 B
TypeScript
13 lines
305 B
TypeScript
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>
|
|
}
|