Skip to content

Commit

Permalink
fix: Build (pancakeswap#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
RabbitDoge authored Mar 25, 2021
1 parent b424d80 commit 4cc27b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Farms/Farms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const Farms: React.FC = () => {
const sortFarms = (farms: FarmWithStakedValue[]): FarmWithStakedValue[] => {
switch (sortOption) {
case 'apr':
return orderBy(farms, (farm: FarmWithStakedValue) => farm.apy.toNumber(), 'desc')
return orderBy(farms, (farm: FarmWithStakedValue) => farm.apy, 'desc')
case 'multiplier':
return orderBy(
farms,
Expand Down

0 comments on commit 4cc27b7

Please sign in to comment.