diff --git a/Dashboard/src/Pages/Settings/Billing.tsx b/Dashboard/src/Pages/Settings/Billing.tsx index 14197529a3..cd2e6ccc7e 100644 --- a/Dashboard/src/Pages/Settings/Billing.tsx +++ b/Dashboard/src/Pages/Settings/Billing.tsx @@ -529,7 +529,7 @@ const Settings: FunctionComponent = ( cardProps={{ title: "Business Details / Billing Address", description: - "Enter your business legal name, address and optional tax info. This will be synced to Stripe and appear on future invoices.", + "Enter your business legal name, address and optional tax info. This will appear on your invoices.", }} isEditable={true} editButtonText={"Update"} @@ -569,32 +569,16 @@ const Settings: FunctionComponent = ( businessDetails: true, }, title: "Business Details / Billing Address", - getElement: (item: Project): ReactElement => { - if (!item.businessDetails) { - return ( -
- No business details added yet. -
- ); - } - return ( -
-                        {item.businessDetails}
-                      
- ); - }, + placeholder: "No business details added yet.", + fieldType: FieldType.LongText, }, { field: { businessDetailsCountry: true, }, title: 'Country', - getElement: (item: Project): ReactElement => { - if (!item.businessDetailsCountry) { - return Not set; - } - return {item.businessDetailsCountry}; - }, + placeholder: "No country details added yet.", + fieldType: FieldType.Text, }, ], modelId: ProjectUtil.getCurrentProjectId()!,