diff --git a/dashboard/src/main/home/modals/BillingModal.tsx b/dashboard/src/main/home/modals/BillingModal.tsx index dd391de3c0..0b7826942b 100644 --- a/dashboard/src/main/home/modals/BillingModal.tsx +++ b/dashboard/src/main/home/modals/BillingModal.tsx @@ -6,8 +6,8 @@ import Link from "components/porter/Link"; import Modal from "components/porter/Modal"; import Spacer from "components/porter/Spacer"; import Text from "components/porter/Text"; -import { usePublishableKey } from "lib/hooks/useStripe"; import { useIntercom } from "lib/hooks/useIntercom"; +import { usePublishableKey } from "lib/hooks/useStripe"; import { Context } from "shared/Context"; @@ -76,23 +76,28 @@ const BillingModal = ({ ) : ( - {trialExpired - ? ( -
- Your applications will continue to run but you will not be able to access your project until you link a payment method. - {" "} - showIntercomWithMessage({ - message: "I have already redeemed my startup deal.", - delaySeconds: 0, - })}> - Already redeemed your startup deal? - - - {"For more details on the current costs and usage of this project, visit the "} - billing page. -
- ) - : "Link a payment method to your Porter project."} + {trialExpired ? ( +
+ Your applications will continue to run but you will not be able + to access your project until you link a payment method.{" "} + + showIntercomWithMessage({ + message: "I have already redeemed my startup deal.", + delaySeconds: 0, + }) + } + > + Already redeemed your startup deal? + + {/* */} + {/* {"For more details on the current costs and usage of this project, visit the "} + billing page. */} +
+ ) : ( + "Link a payment method to your Porter project." + )} {`You can learn more about our pricing under "For Businesses" `} @@ -101,19 +106,17 @@ const BillingModal = ({
)} - { - publishableKey ? ( - - - - ) : null - } + {publishableKey ? ( + + + + ) : null} - + ); }; diff --git a/dashboard/src/main/home/project-settings/ProjectSettings.tsx b/dashboard/src/main/home/project-settings/ProjectSettings.tsx index 3c73f0fc93..7b20c3391b 100644 --- a/dashboard/src/main/home/project-settings/ProjectSettings.tsx +++ b/dashboard/src/main/home/project-settings/ProjectSettings.tsx @@ -96,15 +96,15 @@ function ProjectSettings(props: any) { }); } - if ( - currentProject?.billing_enabled && - currentProject?.metronome_enabled - ) { - tabOpts.push({ - value: "usage", - label: "Usage", - }); - } + // if ( + // currentProject?.billing_enabled && + // currentProject?.metronome_enabled + // ) { + // tabOpts.push({ + // value: "usage", + // label: "Usage", + // }); + // } tabOpts.push({ value: "additional-settings",