Skip to content

Commit

Permalink
Revert "refactor(example): change to RudderContext file name import"
Browse files Browse the repository at this point in the history
This reverts commit b353ee7.
  • Loading branch information
1abhishekpandey committed Oct 25, 2023
1 parent b353ee7 commit 732df9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/example/src/app/RudderEvents.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Button } from 'react-native';
import rudderClient, { RudderContext } from '@rudderstack/rudder-sdk-react-native';
import rudderClient, { IRudderContext } from '@rudderstack/rudder-sdk-react-native';

const RudderEvents = () => {
const identify = async () => {
Expand Down Expand Up @@ -118,7 +118,7 @@ const RudderEvents = () => {
};

const getRudderContext = async () => {
const context: RudderContext | null = await rudderClient.getRudderContext();
const context: IRudderContext | null = await rudderClient.getRudderContext();
console.log(`${JSON.stringify(context)}`);
};

Expand Down

0 comments on commit 732df9a

Please sign in to comment.