silverwolf-x's picture
download
raw
245 Bytes
'use client'
import { useRouter } from 'next/navigation'
import React from 'react'
export default function Button() {
const router = useRouter()
const onClick = () => router.push('/')
return <button onClick={onClick}>My Button</button>
}

Xet Storage Details

Size:
245 Bytes
·
Xet hash:
b67db0d738368991c44dbaf4e58347aa58e56907003bf95c66634d5e1efeccf4

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