Skip to content

Commit

Permalink
Make id of sections the type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Jan 17, 2024
1 parent c3f5b0c commit 2ce4892
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cms/lib/desk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ function buildStandaloneList(
) {
const item = SINGLETONS.find((item) => item.type === type);
const title = item?.title || '';
const id = item?.type + '-en' || '';
return S.listItem()
.title(title)
.id(id)
.id(type)
.icon(icon)
.child(
S.list()
Expand Down

0 comments on commit 2ce4892

Please sign in to comment.