Skip to content

Commit e4576f4

Browse files
committed
removed outdate function in next app
1 parent a2bc47f commit e4576f4

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

examples/next/src/app/components/Connected.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { type CheckoutSettings } from '@0xsequence/checkout'
21
import {
32
ContractVerificationStatus,
43
signEthAuthProof,
@@ -739,34 +738,3 @@ export const Alert = ({ title, description, secondaryDescription, variant, butto
739738
</div>
740739
)
741740
}
742-
743-
export const getCheckoutSettings = (_address?: string) => {
744-
const checkoutSettings: CheckoutSettings = {
745-
cryptoCheckout: {
746-
chainId: ChainId.POLYGON,
747-
triggerTransaction: async () => {
748-
console.log('triggered transaction')
749-
},
750-
coinQuantity: {
751-
contractAddress: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
752-
amountRequiredRaw: '10000000000'
753-
}
754-
},
755-
orderSummaryItems: [
756-
{
757-
chainId: ChainId.POLYGON,
758-
contractAddress: '0x631998e91476da5b870d741192fc5cbc55f5a52e',
759-
tokenId: '66597',
760-
quantityRaw: '100'
761-
},
762-
{
763-
chainId: ChainId.POLYGON,
764-
contractAddress: '0x624e4fa6980afcf8ea27bfe08e2fb5979b64df1c',
765-
tokenId: '1741',
766-
quantityRaw: '100'
767-
}
768-
]
769-
}
770-
771-
return checkoutSettings
772-
}

0 commit comments

Comments
 (0)