Skip to content

Commit

Permalink
Merge pull request #22 from leandrodalbo/replacing-horrible-table
Browse files Browse the repository at this point in the history
fixing sort order
  • Loading branch information
leandrodalbo authored Dec 30, 2024
2 parents dcd7c25 + 4207be1 commit 1145c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TradingSignals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const TradingSignals = ({ signalsService }: TradingSignalsProps) => {
refreshSignals();
}, []);

const signalsByDate = () => rows.sort((a, b) => a.signalTime - b.signalTime)
const signalsByDate = () => rows.sort((a, b) => b.signalTime - a.signalTime)

return (
<>
Expand Down

0 comments on commit 1145c95

Please sign in to comment.