chore: sort
This commit is contained in:
parent
fffec4b8d4
commit
1f08cb34a5
|
@ -18,6 +18,7 @@ export default function Channels(props) {
|
|||
<ul className="channels__list">
|
||||
{(
|
||||
channels
|
||||
.sort(({name: l}, {name: r}) => (l < r ? -1 : 1))
|
||||
.map(({actions, name}) => (
|
||||
<Channel
|
||||
key={name}
|
||||
|
|
Loading…
Reference in New Issue
Block a user