fix list order down

This commit is contained in:
zeppi 2021-06-10 14:48:35 -04:00 committed by Thomas Zarebczan
parent 9b7c8fd642
commit f258de54b0

View file

@ -350,7 +350,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
if (editCollection) {
// $FlowFixMe
editCollection(collectionId, {
order: { from: collectionIndex, to: Number(collectionIndex || 0) + 1 },
order: { from: collectionIndex, to: Number(collectionIndex) - 1 },
});
}
}}