silverwolf-x's picture
download
raw
398 Bytes
'use client'
import { useState } from 'react'
export default function TriggerErrorPage() {
const [shouldError, setShouldError] = useState(false)
if (shouldError) {
throw new Error('Test client error')
}
return (
<div>
<h1>Trigger Error Page</h1>
<button id="trigger-error" onClick={() => setShouldError(true)}>
Trigger Error
</button>
</div>
)
}

Xet Storage Details

Size:
398 Bytes
·
Xet hash:
c542aa0eb460c98164ce5d742461674f21dabe86c6e4f1e6c472878bb283d95d

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