Fix default sort order list

This commit is contained in:
Paulo Gustavo Veiga 2022-01-26 18:50:03 -08:00
parent 6587bfe9c4
commit dec26d64ba

View File

@ -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<Order>('asc');
const [order, setOrder] = React.useState<Order>('desc');
const [filter, setFilter] = React.useState<Filter>({ type: 'all' });
const [orderBy, setOrderBy] = React.useState<keyof MapInfo>('lastModificationTime');