mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Fix default sort order list
This commit is contained in:
parent
6587bfe9c4
commit
dec26d64ba
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user