Skip to content

Commit a94bc07

Browse files
committed
Fix formatting
1 parent b4b7f82 commit a94bc07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-native-sortables/src/providers/shared/hooks/useItemZIndex.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export default function useItemZIndex(
2323
}
2424

2525
const realIndex = keyToIndex.value[key] ?? 0;
26-
const orderZIndex = isStackingOrderDesc ? itemCount - realIndex - 1 : realIndex;
26+
const orderZIndex = isStackingOrderDesc
27+
? itemCount - realIndex - 1
28+
: realIndex;
2729

2830
if (activationAnimationProgress.value > 0) {
2931
if (prevActiveItemKey.value === key) {

0 commit comments

Comments
 (0)