silverwolf-x's picture
download
raw
348 Bytes
import { use } from 'react'
async function getData() {
return {
message: 'hello from layout',
now: Date.now(),
}
}
export default function GspLayout(props) {
const data = use(getData())
return (
<>
<h1 id="layout-message">{data.message}</h1>
<p id="layout-now">{data.now}</p>
{props.children}
</>
)
}

Xet Storage Details

Size:
348 Bytes
·
Xet hash:
5b0069059decce46af554ef48253aaf1694591cbdc2489219bb9527425bb3995

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