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