Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaroise committed Sep 10, 2024
1 parent d12b1e1 commit c6471e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion studioShared/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const deskStructure: StructureResolver = (S) =>
S.documentTypeList(customerCaseID)
.title("Customer cases")
.filter("_type == $type && language == $lang")
.params({ type: customerCaseID, lang: i18n.base })
.params({ type: customerCaseID, lang: i18n.base }),
),
]);
2 changes: 1 addition & 1 deletion studioShared/schemas/documents/blogPosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const blogPosts = defineType({
},
prepare({ title, date }) {
const subtitles = [date && format(parseISO(date), "LLL d, yyyy")].filter(
Boolean
Boolean,
);

return { title, subtitle: subtitles.join(" ") };
Expand Down

0 comments on commit c6471e6

Please sign in to comment.