23 lines
588 B
TypeScript
23 lines
588 B
TypeScript
import { Badge } from '@/components/Badge'
|
|
import { Background } from '@/components/Background'
|
|
import Link from 'next/link'
|
|
import React from 'react'
|
|
import LexicalContent from '@/components/LexicalContent'
|
|
|
|
const Page = () => {
|
|
/* const url = 'http://localhost:3000/api/pages/66781d2fb752297de17a3368?depth=1&draft=false'
|
|
|
|
const content = fetch(url)
|
|
console.log(content) */
|
|
|
|
return (
|
|
<>
|
|
<h1>Lexical content hereinafter</h1>
|
|
|
|
{/* <LexicalContent lazyLoadImages={false} childrenNodes={content?.root?.children} locale={''} /> */}
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default Page
|