@@ -27,7 +27,7 @@ function PaymentItem(props: { channelType: PaymentChannelType; onClick }) {
27
27
28
28
export const BuyBTCModal = ( { onClose } : { onClose : ( ) => void } ) => {
29
29
const [ disclaimerModalVisible , setDisclaimerModalVisible ] = useState ( false ) ;
30
- const [ channelType , setChannelType ] = useState < PaymentChannelType > ( PaymentChannelType . AlchePay ) ;
30
+ const [ channelType , setChannelType ] = useState < PaymentChannelType > ( PaymentChannelType . AlchemyPay ) ;
31
31
32
32
const [ channels , setChannels ] = useState < string [ ] > ( [ ] ) ;
33
33
const wallet = useWallet ( ) ;
@@ -46,7 +46,7 @@ export const BuyBTCModal = ({ onClose }: { onClose: () => void }) => {
46
46
47
47
const isMoonpayEnabled = channels . includes ( PaymentChannelType . MoonPay ) ;
48
48
const isTransakEnabled = channels . includes ( PaymentChannelType . Transak ) ;
49
- const isAlchePayEnabled = channels . includes ( PaymentChannelType . AlchePay ) ;
49
+ const isAlchemyPayEnabled = channels . includes ( PaymentChannelType . AlchemyPay ) ;
50
50
51
51
return (
52
52
< BottomModal onClose = { onClose } >
@@ -77,11 +77,11 @@ export const BuyBTCModal = ({ onClose }: { onClose: () => void }) => {
77
77
/>
78
78
) : null }
79
79
80
- { isAlchePayEnabled ? (
80
+ { isAlchemyPayEnabled ? (
81
81
< PaymentItem
82
- channelType = { PaymentChannelType . AlchePay }
82
+ channelType = { PaymentChannelType . AlchemyPay }
83
83
onClick = { ( ) => {
84
- setChannelType ( PaymentChannelType . AlchePay ) ;
84
+ setChannelType ( PaymentChannelType . AlchemyPay ) ;
85
85
setDisclaimerModalVisible ( true ) ;
86
86
} }
87
87
/>
0 commit comments