Skip to content

Commit

Permalink
update RNBranch imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JagadeeshKaricherla-branch committed Jul 6, 2024
1 parent c9fa1e7 commit b662002
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NativeModules, Platform } from "react-native";
import { Platform } from "react-native";

Check failure on line 1 in src/index.js

View workflow job for this annotation

GitHub Actions / Lint

Strings must use singlequote

const { RNBranch } = NativeModules;
import RNBranch from './RNBranch';

import createBranchUniversalObject from "./branchUniversalObject";

Check failure on line 5 in src/index.js

View workflow job for this annotation

GitHub Actions / Lint

Strings must use singlequote
import BranchEvent from "./BranchEvent";

Check failure on line 6 in src/index.js

View workflow job for this annotation

GitHub Actions / Lint

Strings must use singlequote
Expand Down
3 changes: 1 addition & 2 deletions test/BranchEvent.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { NativeModules } from 'react-native'
const { RNBranch } = NativeModules
import RNBranch from '../src/RNBranch'
import BranchEvent from '../src/BranchEvent'

// --- Constant mapping ---
Expand Down
3 changes: 1 addition & 2 deletions test/BranchSubscriber.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { NativeModules } from 'react-native'
const { RNBranch } = NativeModules
import RNBranch from '../src/RNBranch'
import BranchSubscriber from '../src/BranchSubscriber'

test('default initializes with no options', () => {
Expand Down

0 comments on commit b662002

Please sign in to comment.