You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the duels to play are sorted by id on the Homepage.
Describe the solution you'd like
It would make more sense to sort them by remaining time, to have the more urgent ones at the top
This change should be pretty straightforward and only require a array sort before the rendering on HomePage.jsx.
If the sort takes too much performance for this page (unlikely), we could add it in the query treatment (in utils/) rather than the rendering component (in pages/).
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the duels to play are sorted by id on the Homepage.
Describe the solution you'd like
It would make more sense to sort them by remaining time, to have the more urgent ones at the top
This change should be pretty straightforward and only require a array sort before the rendering on
HomePage.jsx
.If the sort takes too much performance for this page (unlikely), we could add it in the query treatment (in
utils/
) rather than the rendering component (inpages/
).The text was updated successfully, but these errors were encountered: