1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-25 07:51:12 +02:00

fix billing info

This commit is contained in:
Kushagra Gour
2024-04-28 23:42:21 +05:30
parent 497030fb99
commit aa614ec4e3

View File

@@ -65,12 +65,12 @@ export function Profile({ user, logoutBtnHandler }) {
!( !(
event.type === 'order_created' && event.type === 'order_created' &&
!event.data.data.attributes.first_order_item?.variant_name?.match( !event.data.data.attributes.first_order_item?.variant_name?.match(
/lifetime/ /lifetime/i
) )
) )
)[0]; )[0];
if (creationEvent) { if (creationEvent) {
console.log(creationEvent); // log(creationEvent);
creationEvent.attributes = creationEvent.data.data.attributes; creationEvent.attributes = creationEvent.data.data.attributes;
setCurrentSubscription(creationEvent); setCurrentSubscription(creationEvent);
} }