Commit 0c9b7e0e authored by Filipa Lacerda's avatar Filipa Lacerda

Improvements after review

parent b7d7453b
...@@ -125,15 +125,7 @@ ...@@ -125,15 +125,7 @@
const nameA = a.name.toUpperCase(); const nameA = a.name.toUpperCase();
const nameB = b.name.toUpperCase(); const nameB = b.name.toUpperCase();
if (nameA < nameB) { return nameA < nameB ? -1 : nameA > nameB ? 1 : 0; // eslint-disable-line
return -1;
}
if (nameA > nameB) {
return 1;
}
return 0;
}, },
}; };
})(); })();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment