Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 64c6e62

Browse files
committed
fix: remove console.log in ScrollPager
1 parent 6f681c5 commit 64c6e62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ScrollPager.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,17 @@ export default class ScrollPager<T extends Route> extends React.Component<
197197
>
198198
{children}
199199
<Animated.Code
200-
exec={onChange(this.relativePosition, [
200+
exec={onChange(
201+
this.relativePosition,
201202
cond(eq(round(this.relativePosition), this.relativePosition), [
202203
call([this.relativePosition], ([relativePosition]) => {
203204
if (this.wasTouched) {
204205
onIndexChange(relativePosition);
205206
this.wasTouched = false;
206207
}
207208
}),
208-
]),
209-
call([this.relativePosition], console.log),
210-
])}
209+
])
210+
)}
211211
/>
212212
</Animated.ScrollView>
213213
),

0 commit comments

Comments
 (0)