silverwolf-x's picture
download
raw
370 Bytes
'use client' // Error components must be Client Components
export default function Error({ error, reset }) {
return (
<div>
<h2 id="error-text">{error.message}</h2>
<button
onClick={
// Attempt to recover by trying to re-render the segment
() => reset()
}
>
Try again
</button>
</div>
)
}

Xet Storage Details

Size:
370 Bytes
·
Xet hash:
718c11075b453e6b96aee88711714656ee6eb154438c0d271072a3deda6ed174

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