Skip to content

Commit

Permalink
casing types
Browse files Browse the repository at this point in the history
  • Loading branch information
Xillians committed Oct 13, 2023
1 parent b60b10c commit 6c66038
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions schemas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { address } from './objects/address';
import { basicBlockContent } from './objects/basic-block-content';
import { blockContent } from './objects/block-content';
import { link } from './objects/link';
import { Metadata, searchEngine, socialMedia } from './objects/meta-data';
import { metadata, searchEngine, socialMedia } from './objects/meta-data';
import { privacyOptions } from './objects/privacy-options';
import { seo } from './objects/seo';
import { organization } from './organization';
Expand All @@ -21,7 +21,7 @@ export const schemaTypes = [
basicBlockContent,
blockContent,
privacyOptions,
Metadata,
metadata,
searchEngine,
socialMedia,
];
2 changes: 1 addition & 1 deletion schemas/objects/meta-data.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineType } from 'sanity';

export const Metadata = defineType({
export const metadata = defineType({
name: 'metadata',
title: 'Metadata',
type: 'object',
Expand Down
6 changes: 3 additions & 3 deletions schemas/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ export const project = defineType({
type: 'seo',
},
{
name: 'Metadata',
title: 'Meta data',
name: 'metadata',
title: 'Metadata',
group: 'metadata',
type: 'Metadata',
type: 'metadata',
},
],
preview: {
Expand Down

0 comments on commit 6c66038

Please sign in to comment.