Skip to content

Commit 7e7a305

Browse files
authored
Merge pull request #141 from lil5/patch-1
2 parents 8d2d287 + 5384d6a commit 7e7a305

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ You will also need to update your applications Podfile to use our fork of Starsc
2020
import GenericClient, {
2121
getOrCreateAPIClient,
2222
getOrCreateWebSocketClient,
23-
} from "react-native-network-client";
23+
} from "@mattermost/react-native-network-client";
2424

2525
// ...
2626

2727
const response = await GenericClient.get("https://community.mattermost.com");
28-
const { client: apiClient, created } = await getOrCreateAPIClient(
28+
const { client: apiClient, created: apiCreated } = await getOrCreateAPIClient(
2929
"https://community.mattermost.com"
3030
);
31-
const { client: wsClient, created } = await getOrCreateWebSocketClient(
31+
const { client: wsClient, created: wsCreated } = await getOrCreateWebSocketClient(
3232
"wss://community.mattermost.com"
3333
);
3434
```

0 commit comments

Comments
 (0)