Skip to content

Commit

Permalink
add translation for seo
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Oct 15, 2024
1 parent af4091c commit c599660
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions studio/schemas/documents/specialPages/customerCasesPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { defineType } from "sanity";

import { isInternationalizedString } from "studio/lib/interfaces/global";
import { titleID } from "studio/schemas/fields/text";
import seo from "studio/schemas/objects/seo";
import { titleSlug } from "studio/schemas/schemaTypes/slug";
import { firstTranslation } from "studio/utils/i18n";

Expand All @@ -24,8 +23,10 @@ const customerCasesPage = defineType({
...titleSlug,
type: "internationalizedArrayString",
},
seo,
//TODO: add translations for SEO
{
name: "seo",
type: "internationalizedArraySeo",
},
],
preview: {
select: {
Expand Down

0 comments on commit c599660

Please sign in to comment.