Skip to content

Commit 1398efb

Browse files
Update dotcom-rendering/src/components/InteractiveBlockComponent.importable.tsx
Co-authored-by: Jonathon Herbert <[email protected]>
1 parent e0becc5 commit 1398efb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dotcom-rendering/src/components/InteractiveBlockComponent.importable.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,7 @@ export const InteractiveBlockComponent = ({
354354

355355
const onTouchStart = () => getInteractionClient().disableArticleSwipe(true);
356356

357-
const onTouchEnd = async () => {
358-
await getInteractionClient().disableArticleSwipe(false);
359-
};
357+
const onTouchEnd = () => getInteractionClient().disableArticleSwipe(false);
360358

361359
useOnce(() => {
362360
// We've brought the behavior from boot.js into this file to avoid loading 2 extra scripts

0 commit comments

Comments
 (0)