diff --git a/studio/components/MultiLineDescription.tsx b/studio/components/MultiLineDescription.tsx deleted file mode 100644 index 4aadc05a1..000000000 --- a/studio/components/MultiLineDescription.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { HTMLProps } from "react"; - -const MultiLineDescription = ({ - lines, - ...props -}: { lines: string[] } & HTMLProps) => { - return ( -
- {lines.map((l, i) => ( -

{l}

- ))} -
- ); -}; - -export default MultiLineDescription; diff --git a/studio/schemas/documents/compensations.ts b/studio/schemas/documents/compensations.ts index 3b0bca919..7348bf919 100644 --- a/studio/schemas/documents/compensations.ts +++ b/studio/schemas/documents/compensations.ts @@ -4,7 +4,6 @@ import seo from "../objects/seo"; import locations from "../objects/locations"; import { title } from "../fields/text"; import { benefitId } from "./benefit"; -import MultiLineDescription from "../../components/MultiLineDescription"; import { locationId } from "./location"; import { SalariesInput } from "../../components/SalaryCsvInput/SalariesInput"; @@ -25,13 +24,7 @@ const compensations = defineType({ defineField({ name: "showSalaryCalculator", title: "Show Salary Calculator", - description: MultiLineDescription({ - lines: [ - "Should the salary calculator be visible on the page?", - "🇳🇴 Only for Norway", - ], - style: { paddingBottom: "0.35rem" }, - }), + description: "Should the salary calculator be visible on the page?", type: "boolean", initialValue: true, }),