Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Sep 17, 2024
1 parent 901e74b commit 9fd5fa6
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
@@ -1,12 +1,12 @@
import { type SchemaTypeDefinition } from "sanity";

import pageBuilder from "./schemas/documents/pageBuilder";
import companyInfo from "./schemas/documents/admin/companyInfo";
import companyLocation from "./schemas/documents/admin/companyLocation";
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 pageBuilder from "./schemas/documents/pageBuilder";
import posts from "./schemas/documents/post";
import brandAssets from "./schemas/documents/siteSettings/brandAssets";
import brokenLinks from "./schemas/documents/siteSettings/brokenLinks";
Expand Down
2 changes: 1 addition & 1 deletion studio/schemas/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import {
} from "@sanity/icons";
import { StructureBuilder } from "sanity/structure";

import { pageBuilderID } from "./documents/pageBuilder";
//import { blogId } from "./documents/blog";
import { companyInfoID } from "./documents/admin/companyInfo";
import { companyLocationID } from "./documents/admin/companyLocation";
import { defaultSeoID } from "./documents/admin/defaultSeo";
import { legalDocumentID } from "./documents/admin/legalDocuments";
import { compensationsId } from "./documents/compensations";
import { pageBuilderID } from "./documents/pageBuilder";
import { brandAssetsID } from "./documents/siteSettings/brandAssets";
import { brokenLinksID } from "./documents/siteSettings/brokenLinks";
import { soMeLinksID } from "./documents/siteSettings/socialMediaProfiles";
Expand Down
2 changes: 1 addition & 1 deletion studio/schemas/documents/siteSettings/brokenLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { SanityDocument, SlugRule } from "@sanity/types";
import { type Slug, defineField, defineType } from "sanity";

import PrefixedSlugInput from "studio/components/slug/PrefixedSlugInput";
import { pageBuilderID } from "studio/schemas/documents/pageBuilder";
import { blogId } from "studio/schemas/documents/blog";
import { compensationsId } from "studio/schemas/documents/compensations";
import { pageBuilderID } from "studio/schemas/documents/pageBuilder";

const slugRequired = (rule: SlugRule) =>
rule.required().custom((value: Slug | undefined) => {
Expand Down

0 comments on commit 9fd5fa6

Please sign in to comment.