This commit is contained in:
2026-06-24 15:34:09 +02:00
commit 65fb6816ca
442 changed files with 27246 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
'use client'
import { Button, PropsOf } from '@chakra-ui/react'
import { useRouter } from 'next/navigation'
export const RefetchButton: React.FC<PropsOf<typeof Button>> = (props) => {
const router = useRouter()
return (
<Button onClick={() => { router.refresh() }} {...props}>Refetch</Button>
)
}