Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Afonso-santos committed Oct 16, 2023
1 parent 6fb3de5 commit d1c3045
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/app/pages/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const { Title } = Typography;

function Events() {
const { data: events, isLoading } = useEvents();

let reversedEvents = events ? events.slice().reverse() : [];
let reversedEvents = events ? [...events].reverse() : [];

return (
<AppLayout>
Expand Down

0 comments on commit d1c3045

Please sign in to comment.