diff --git a/example/src/HomeHeaderView.tsx b/example/src/HomeHeaderView.tsx index 0cdb4fbaf..10fe4cc03 100644 --- a/example/src/HomeHeaderView.tsx +++ b/example/src/HomeHeaderView.tsx @@ -27,7 +27,7 @@ function NewConversationView({ const canMessage = await client.canMessage(address); if (!canMessage) { setIsCreating(false); - setErr(`${address} is not on the XMTP Network yet`); + setErr(`${address} is not on the XMTP network yet`); return; } const conversation = await client.conversations.newConversation(address); diff --git a/src/index.ts b/src/index.ts index 585173d44..ba977281a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ export async function createRandom( } export async function canMessage(clientAddress: string, peerAddress: string): Promise { - return await XMTPModule.canMessage(clientAddress, peerAddress) + return await XMTPModule.canMessage(clientAddress, peerAddress); } export async function listConversations(