Skip to content

Commit

Permalink
feat(compensations): remove multi-line description
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Sep 3, 2024
1 parent 93789dd commit 5a445e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
16 changes: 0 additions & 16 deletions studio/components/MultiLineDescription.tsx

This file was deleted.

9 changes: 1 addition & 8 deletions studio/schemas/documents/compensations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { titleSlug } from "../schemaTypes/slug";
import seo from "../objects/seo";
import { title } from "../fields/text";
import { benefitId } from "./benefit";
import MultiLineDescription from "../../components/MultiLineDescription";
import { locationId } from "./location";
import { SalariesInput } from "../../components/SalaryCsvInput/SalariesInput";

Expand All @@ -20,13 +19,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,
}),
Expand Down

0 comments on commit 5a445e7

Please sign in to comment.