diff --git a/src/components/Sidebar/index.jsx b/src/components/Sidebar/index.jsx index 4df6b67a..742efb2c 100644 --- a/src/components/Sidebar/index.jsx +++ b/src/components/Sidebar/index.jsx @@ -84,13 +84,13 @@ const Sidebar = ({ if (auditTrialDaysRemaining > 1) { const irtl = new Intl.RelativeTimeFormat({ style: 'long' }); return ( -
+
Your trial ends {irtl.format(auditTrialDaysRemaining, 'day')}. Upgrade for full access to Xpert.
); } if (auditTrialDaysRemaining === 1) { return ( -
+
Your trial ends today! Upgrade for full access to Xpert.
); diff --git a/src/hooks/use-course-upgrade.js b/src/hooks/use-course-upgrade.js index 3bbd4991..90bb438d 100644 --- a/src/hooks/use-course-upgrade.js +++ b/src/hooks/use-course-upgrade.js @@ -26,7 +26,7 @@ export default function useCourseUpgrade() { auditTrialDaysRemaining = Math.ceil((auditTrialExpirationDate - Date.now()) / millisecondsInOneDay); auditTrialExpired = auditTrialDaysRemaining < 0; - console.log({ upgradeUrl }, { auditTrialDaysRemaining }); + // console.log({ upgradeUrl }, { auditTrialDaysRemaining }); } return {