lint
This commit is contained in:
parent
6ac2e5b4c2
commit
9d0836c2e7
|
@ -2,4 +2,4 @@
|
|||
|
||||
export const sortBy = (key) => {
|
||||
return (a, b) => (a[key] > b[key]) ? 1 : ((b[key] > a[key]) ? -1 : 0);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue