Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d4b74bf

Browse files
committedJan 18, 2024
fix: reverse insertion order (#315)
1 parent 7ee3a7e commit d4b74bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core/src/useGetOriginalItemOrder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const useGetOriginalItemOrder = () => {
1616
] as const
1717
)
1818
// eslint-disable-next-line @typescript-eslint/no-unused-vars
19-
.sort(([_, aPos], [_2, bPos]) => bPos - aPos)
19+
.sort(([_, aPos], [_2, bPos]) => aPos - bPos)
2020
.map(([item]) => item)
2121
);
2222
};

0 commit comments

Comments
 (0)
Please sign in to comment.