diff --git a/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx b/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx index a7615e5bb0..9303c314f5 100644 --- a/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx @@ -27,6 +27,11 @@ export function EditFormbricksBranding({ ); const [updatingBranding, setUpdatingBranding] = useState(false); + const getTextFromType = (type) => { + if (type === "linkSurvey") return "Link Surveys"; + if (type === "inAppSurvey") return "In App Surveys"; + }; + const toggleBranding = async () => { try { setUpdatingBranding(true); @@ -52,8 +57,8 @@ export function EditFormbricksBranding({
- To remove the Formbricks branding from the {type} surveys - , please{" "} + To remove the Formbricks branding from the  + {getTextFromType(type)}, please  {type === "linkSurvey" ? ( upgrade your plan.