commit
2dda1a09b4
|
@ -46,9 +46,7 @@ export const AllAuthorsView = (props: AllAuthorsViewProps) => {
|
|||
})
|
||||
|
||||
const byLetter = createMemo<{ [letter: string]: Author[] }>(() => {
|
||||
return sortedAuthors()
|
||||
.slice(0, 1)
|
||||
.reduce(
|
||||
return sortedAuthors().reduce(
|
||||
(acc, author) => {
|
||||
let letter = ''
|
||||
if (author && author.name) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user