Skip to content

Commit 9080cbe

Browse files
committed
refactor: rename from joiner to listJoiner
1 parent 302347e commit 9080cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/utils/blog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const joiner = new Intl.ListFormat('en-US', {
1+
const listJoiner = new Intl.ListFormat('en-US', {
22
style: 'long',
33
type: 'conjunction',
44
})
@@ -8,5 +8,5 @@ export function formatAuthors(authors: Array<string>) {
88
return 'TanStack'
99
}
1010

11-
return joiner.format(authors)
11+
return listJoiner.format(authors)
1212
}

0 commit comments

Comments
 (0)