Skip to content

Commit

Permalink
feat: update default order of nft collection list
Browse files Browse the repository at this point in the history
Set the default order 'transactions.desc'
  • Loading branch information
Keith-CY committed Nov 15, 2023
1 parent 6fca6d3 commit ab28049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/NftCollections/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const NFTSortByTypes = ['transactions', 'holder', 'minted'] as const
type NFTSortByType = (typeof NFTSortByTypes)[number]

export const useNFTCollectionsSortParam = () =>
useSortParam<NFTSortByType>(s => includes(NFTSortByTypes, s), 'holder.asc')
useSortParam<NFTSortByType>(s => includes(NFTSortByTypes, s), 'transactions.desc')

0 comments on commit ab28049

Please sign in to comment.