Skip to content

Commit

Permalink
docs: sort components alphabetically (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored and TheSharpieOne committed Apr 23, 2019
1 parent 3df7c03 commit 2f5edcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lib/UI/Content.js
Expand Up @@ -17,7 +17,7 @@ function Content({ items, children, title }) {
<div className="docs-sidebar mb-3">
<h1 className="h5">{title}</h1>
<Nav className="flex-column">
{items.map(item => (
{items.sort((a, b) => a.name.localeCompare(b.name)).map(item => (
<NavItem key={item.to}>
<NavLink tag={Link} to={item.to} activeClassName="active">
{item.name}
Expand Down

0 comments on commit 2f5edcc

Please sign in to comment.