diff --git a/src/components/Button.tsx b/src/components/Button.tsx index b652d094..384f6c85 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -92,7 +92,7 @@ export function ButtonLink({ } export type ButtonMiniAppProps = ButtonProps & { - href: string + action: string prompt?: boolean } @@ -101,7 +101,7 @@ export function ButtonMiniApp({ children, // @ts-ignore - private index = 1, - href, + action, prompt, }: ButtonMiniAppProps) { return [ @@ -113,7 +113,7 @@ export function ButtonMiniApp({ , , ] as unknown as HtmlEscapedString }