From aa614ec4e360b16d5f3a39fab0cdf4926306e282 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Sun, 28 Apr 2024 23:42:21 +0530 Subject: [PATCH] fix billing info --- src/components/Profile.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Profile.jsx b/src/components/Profile.jsx index f14dd72..6205825 100644 --- a/src/components/Profile.jsx +++ b/src/components/Profile.jsx @@ -65,12 +65,12 @@ export function Profile({ user, logoutBtnHandler }) { !( event.type === 'order_created' && !event.data.data.attributes.first_order_item?.variant_name?.match( - /lifetime/ + /lifetime/i ) ) )[0]; if (creationEvent) { - console.log(creationEvent); + // log(creationEvent); creationEvent.attributes = creationEvent.data.data.attributes; setCurrentSubscription(creationEvent); }