chore: sort

This commit is contained in:
cha0s 2020-12-11 05:03:17 -06:00
parent fffec4b8d4
commit 1f08cb34a5

View File

@ -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}