Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/e2e/src/EndToEndTests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const EndToEndTestsScreen = (): JSX.Element => {
// !!! WARNING: This is only for testing purposes.
// We only do this to render the eventId onto the UI for end to end tests.
React.useEffect(() => {
const client: Sentry.ReactNativeClient | undefined = Sentry.getCurrentHub().getClient();
const client: Sentry.ReactNativeClient | undefined = Sentry.getClient();
client.getOptions().beforeSend = (e: Sentry.Event) => {
setEventId(e.event_id || null);
return e;
Expand Down