Skip to content

Commit

Permalink
fix: careers schema updated
Browse files Browse the repository at this point in the history
  • Loading branch information
harshsoni-harsh committed Feb 24, 2025
1 parent 2ab8886 commit 69381a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sanity/schemaTypes/generalInfo/Jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Jobs = defineType({
defineField({
name: 'lastDate',
title: 'Last Date',
type: 'string',
type: 'datetime',
description: 'Last Date of the job',
}),
defineField({
Expand Down
4 changes: 2 additions & 2 deletions src/sanity/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export const structure: StructureResolver = (S) =>
.title('Visitor')
.child(S.documentTypeList('visitor').title('Visitor')),
S.listItem()
.title('Jobs')
.child(S.documentTypeList('job').title('Jobs')),
.title('Careers')
.child(S.documentTypeList('job').title('Careers')),
S.listItem()
.title('Finance')
.child(S.documentTypeList('finance').title('Finance')),
Expand Down

0 comments on commit 69381a1

Please sign in to comment.