Skip to content

Commit 20f7bf1

Browse files
committed
Use SV
1 parent 640d864 commit 20f7bf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/common-app/src/new_api/showcase/bottom_sheet

apps/common-app/src/new_api/showcase/bottom_sheet/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Example() {
4848
// calculate nearest snap point
4949
let destSnapPointIndex = 0;
5050

51-
if (snapPointIndex === 0 && endOffsetY < fullyOpenSnapPoint) {
51+
if (snapPointIndexValue.value === 0 && endOffsetY < fullyOpenSnapPoint) {
5252
return;
5353
}
5454
for (const [index, snapPoint] of snapPointsFromTop.entries()) {

0 commit comments

Comments
 (0)