Skip to content

Commit

Permalink
fix sample lint
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed May 7, 2024
1 parent a0a7419 commit bdf385b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions samples/react-native/src/Screens/GesturesTracingScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
import { Scope, sentryTraceGesture, startSpan, startSpanManual } from '@sentry/react-native';
import { sentryTraceGesture, startSpanManual } from '@sentry/react-native';
import { Span } from '@sentry/types';

const GesturesTracingScreen = () => {
Expand All @@ -20,7 +20,9 @@ const GesturesTracingScreen = () => {

const startExampleSpan = () => {
startSpanManual({ name: 'Example', op: 'example' }, (span: Span) => {
span.end();
setTimeout(() => {
span.end();
}, 1000);
});
};

Expand Down

0 comments on commit bdf385b

Please sign in to comment.