silverwolf-x's picture
download
raw
361 Bytes
import { use } from 'react'
async function getData() {
await new Promise((resolve) => setTimeout(resolve, 400))
return {
message: 'Hello World',
}
}
export default function DashboardLayout({ children }) {
const { message } = use(getData())
return (
<>
<h1 id="dashboard-layout">Dashboard {message}</h1>
{children}
</>
)
}

Xet Storage Details

Size:
361 Bytes
·
Xet hash:
887ba4ad3881ba2295d7b234c8a2da463532e0372120aab86b8571976a020c52

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.