File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
(app)/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ export function PayModalButton(props: {
4242 theme = { getSDKTheme ( theme === "dark" ? "dark" : "light" ) }
4343 className = "!w-auto"
4444 payOptions = { {
45- onPurchaseSuccess ( info ) {
45+ // biome-ignore lint/suspicious/noExplicitAny: false positive
46+ onPurchaseSuccess ( info : any ) {
4647 if (
4748 info . type === "crypto" &&
4849 info . status . status !== "NOT_FOUND"
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export function PayPageEmbed({
6363 onPurchaseSuccess : ( result ) => {
6464 if ( ! redirectUri ) return ;
6565 const url = new URL ( redirectUri ) ;
66- switch ( result . type ) {
66+ switch ( result ? .type ) {
6767 case "crypto" : {
6868 url . searchParams . set ( "status" , result . status . status ) ;
6969 if (
You can’t perform that action at this time.
0 commit comments