update pay function

This commit is contained in:
2025-11-22 11:41:56 +08:00
parent 0d14d7cf4e
commit 9cfe8e82d9
397 changed files with 19572 additions and 9326 deletions

View File

@@ -0,0 +1,20 @@
'use client';
import Link, { LinkProps } from 'next/link';
import { Button, ButtonProps } from '@chakra-ui/react';
type ChakraAndNextProps = ButtonProps & LinkProps;
export default function LinkButton({
href,
children,
prefetch = true,
...props
}: ChakraAndNextProps) {
return (
<Link href={href} passHref prefetch={prefetch}>
<Button as="a" variant="a" {...props}>
{children}
</Button>
</Link>
);
}