diff --git a/src/app/page.tsx b/src/app/page.tsx index 9b424f7..c9ac0d0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -58,40 +58,42 @@ const HomePage = () => { return (
- {(lists ?? []).map((list) => ( -
- - ( - - )} - > - Remove list - + {(lists ?? []) + .sort((a, b) => a.name.localeCompare(b.name)) + .map((list) => ( +
+ + ( + + )} + > + Remove list + - ( - { - updateList(list); - closeDialog(); - }} - /> - )} - > - Edit list - -
- ))} + ( + { + updateList(list); + closeDialog(); + }} + /> + )} + > + Edit list + +
+ ))}