From dec26d64ba83c2db01e68ca6650e313b75b1bd24 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 26 Jan 2022 18:50:03 -0800 Subject: [PATCH] Fix default sort order list --- packages/webapp/src/components/maps-page/maps-list/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/components/maps-page/maps-list/index.tsx b/packages/webapp/src/components/maps-page/maps-list/index.tsx index 098cc98c..eca91d14 100644 --- a/packages/webapp/src/components/maps-page/maps-list/index.tsx +++ b/packages/webapp/src/components/maps-page/maps-list/index.tsx @@ -236,7 +236,7 @@ const mapsFilter = (filter: Filter, search: string): ((mapInfo: MapInfo) => bool export const MapsList = (props: MapsListProps): React.ReactElement => { const classes = useStyles(); - const [order, setOrder] = React.useState('asc'); + const [order, setOrder] = React.useState('desc'); const [filter, setFilter] = React.useState({ type: 'all' }); const [orderBy, setOrderBy] = React.useState('lastModificationTime');