Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaroise committed Sep 23, 2024
1 parent 51ebdc4 commit 9daeedd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion studio/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import defaultSeo from "./schemas/documents/admin/defaultSeo";
import legalDocument from "./schemas/documents/admin/legalDocuments";
import blog from "./schemas/documents/blog";
import compensations from "./schemas/documents/compensations";
import languageSettings from "./schemas/documents/languageSettings";
import pageBuilder from "./schemas/documents/pageBuilder";
import posts from "./schemas/documents/post";
import brandAssets from "./schemas/documents/siteSettings/brandAssets";
Expand All @@ -19,7 +20,6 @@ import benefitsByLocation from "./schemas/objects/compensations/benefitsByLocati
import { footerSection } from "./schemas/objects/footerSection";
import { link } from "./schemas/objects/link";
import { socialMedia } from "./schemas/objects/socialMedia";
import languageSettings from "./schemas/documents/languageSettings";

export const schema: { types: SchemaTypeDefinition[] } = {
types: [
Expand Down
2 changes: 1 addition & 1 deletion studio/studioConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config: WorkspaceOptions = {
...schema,
templates: (prev) => {
const prevFiltered = prev.filter(
(template) => template.id !== "legalDocument"
(template) => template.id !== "legalDocument",
);

// Ensures no legal document is created with an empty language field
Expand Down
2 changes: 1 addition & 1 deletion studioShared/studioConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const config: WorkspaceOptions = {
prev.filter(
(template) =>
template.value.language ===
supportedLanguages.find((language) => language.default)?.id
supportedLanguages.find((language) => language.default)?.id,
),
},
plugins: [
Expand Down

0 comments on commit 9daeedd

Please sign in to comment.