silverwolf-x's picture
download
raw
579 Bytes
'use client'
import type { ErrorInfo } from 'next/error'
import { unstable_catchError } from 'next/error'
export function ErrorFallback(
props: { title: string },
{ error, reset, unstable_retry }: ErrorInfo
) {
return (
<>
<p id="error-boundary-message">{error.message}</p>
<p id="error-boundary-title">{props.title}</p>
<button id="reset" onClick={() => reset()}>
Reset
</button>
<button id="retry" onClick={() => unstable_retry()}>
Retry
</button>
</>
)
}
export default unstable_catchError(ErrorFallback)

Xet Storage Details

Size:
579 Bytes
·
Xet hash:
5f86c0f0b8f1d7b9634ce67deefc7a2c78030460da3c4ed9b3d6b220ba78a479

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