silverwolf-x's picture
download
raw
347 Bytes
'use client'
import { useState } from 'react'
export default function Page() {
const [clicked, setClicked] = useState(false)
if (clicked) {
throw new Error('this is a test')
}
return (
<button
id="error-trigger-button"
onClick={() => {
setClicked(true)
}}
>
Trigger Error!
</button>
)
}

Xet Storage Details

Size:
347 Bytes
·
Xet hash:
97cfe4172c8441ddd827845109b89d1fe2a62aa59cb9c1ae8daf94d5f91328d6

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