Apply Prettier changes

This commit is contained in:
awalias authored and GitHub Actions committed 2021-05-25 10:04:52 +00:00
1 parent 928044c4bc
commit 6930be0de9
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ export const useStore = (props) => {
return {
// We can export computed values here to map the authors to each message
messages: messages.map((x) => ({ ...x, author: users.get(x.user_id) })),
channels: (channels !== null) ? channels.sort((a, b) => a.slug.localeCompare(b.slug)) : [],
channels: channels !== null ? channels.sort((a, b) => a.slug.localeCompare(b.slug)) : [],
users,
}
}