chore: access pattern consistency
This commit is contained in:
parent
1c75acb37e
commit
6e206cdf47
6 changed files with 8 additions and 9 deletions
|
@ -16,7 +16,7 @@ const fetchBlogroll = async () => {
|
|||
return []
|
||||
}
|
||||
|
||||
return data.sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()))
|
||||
return data.sort((a, b) => a['name'].toLowerCase().localeCompare(b['name'].toLowerCase()))
|
||||
}
|
||||
|
||||
export default async function () {
|
||||
|
|
Reference in a new issue