mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-07 16:21:57 -06:00
fix: wording on look & feel page (#1632)
This commit is contained in:
committed by
GitHub
parent
ff87be717c
commit
4baea07471
@@ -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({
|
||||
<div className="mb-4">
|
||||
<Alert>
|
||||
<AlertDescription>
|
||||
To remove the Formbricks branding from the <span className="font-semibold">{type} surveys</span>
|
||||
, please{" "}
|
||||
To remove the Formbricks branding from the
|
||||
<span className="font-semibold">{getTextFromType(type)}</span>, please
|
||||
{type === "linkSurvey" ? (
|
||||
<span className="underline">
|
||||
<Link href={`/environments/${environmentId}/settings/billing`}>upgrade your plan.</Link>
|
||||
|
||||
Reference in New Issue
Block a user