Skip to content

Commit 2fe70b3

Browse files
committed
Fix Youbora documentation
1 parent 6e9dcbc commit 2fe70b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

youbora/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ npm install @theoplayer/react-native-analytics-youbora
1717
Create the connector by providing the `THEOplayer` instance, the `appId` provided by Youbora, and `instanceName`
1818
that describes the player or site, and an optional set of `YouboraOptions`:
1919

20-
```jsx
21-
import { useYoubora } from '@theoplayer/react-native-analytics-youbora';
20+
```tsx
21+
import { useYoubora, youbora } from '@theoplayer/react-native-analytics-youbora';
2222

2323
const youboraOptions: youbora.Options = {
2424
'accountCode': 'powerdev',
@@ -50,7 +50,7 @@ const youboraOptions: youbora.Options = {
5050
};
5151

5252
const App = () => {
53-
const [youbora, initYoubora] = useYoubora(youboraOptions, youbora.Log.Level.DEBUG);
53+
const [_youboraConnector, initYoubora] = useYoubora(youboraOptions, youbora.Log.Level.DEBUG);
5454

5555
const onPlayerReady = (player: THEOplayer) => {
5656
// Initialize Youbora connector
@@ -78,7 +78,7 @@ the app's Podfile still needs to include a dependency to the THEOplayerSDK by ad
7878
tvos_youbora_target.dependent_targets <<= tvos_theoplayer_target
7979
end
8080
```
81-
If you are using a single target project this reduces to
81+
If you are using a single target project this reduces to
8282
```ruby
8383
pre_install do |installer|
8484
youbora_target = installer.pod_targets.find { |t| t.name == "YouboraTHEOPlayerAdapter" }

0 commit comments

Comments
 (0)