Skip to content

Commit 7eeff3a

Browse files
fix lint
1 parent d0ff3a2 commit 7eeff3a

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

samples/react-native/src/Screens/HomeScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const HomeScreen = (props: Props) => {
3939
'home_mount_time',
4040
timestampInSeconds() - componentMountStartTimestamp,
4141
{
42-
unit: "seconds",
42+
unit: 'seconds',
4343
},
4444
);
4545
}

samples/react-native/src/Screens/TrackerScreen.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ const TrackerScreen = () => {
4040
};
4141

4242
const onRefreshButtonPress = () => {
43-
Sentry.metrics.increment(
44-
'tracker_screen.refresh_button_press',
45-
1,
46-
{ tags: { graph: 'none', public_data: true } },
47-
);
43+
Sentry.metrics.increment('tracker_screen.refresh_button_press', 1, {
44+
tags: { graph: 'none', public_data: true },
45+
});
4846
loadData();
4947
};
5048

@@ -80,7 +78,11 @@ const TrackerScreen = () => {
8078
<ActivityIndicator size="small" color="#F6F6F8" />
8179
)}
8280
</View>
83-
<Button sentry-label="refresh" title="Refresh" onPress={onRefreshButtonPress} />
81+
<Button
82+
sentry-label="refresh"
83+
title="Refresh"
84+
onPress={onRefreshButtonPress}
85+
/>
8486
</View>
8587
);
8688
};

src/js/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ export {
4545
getClient,
4646
setCurrentClient,
4747
addEventProcessor,
48-
4948
metrics,
5049
} from '@sentry/core';
5150

0 commit comments

Comments
 (0)