diff --git a/packages/react-chat-example/src/index.tsx b/packages/react-chat-example/src/index.tsx index 3227de4..69cc6a1 100644 --- a/packages/react-chat-example/src/index.tsx +++ b/packages/react-chat-example/src/index.tsx @@ -76,7 +76,7 @@ function DragDiv() { diff --git a/packages/react-chat/src/hooks/messenger/useMessenger.ts b/packages/react-chat/src/hooks/messenger/useMessenger.ts index d1363c0..9964eec 100644 --- a/packages/react-chat/src/hooks/messenger/useMessenger.ts +++ b/packages/react-chat/src/hooks/messenger/useMessenger.ts @@ -152,7 +152,7 @@ export function useMessenger( id: community.publicKeyStr, name: community.description.identity?.displayName ?? "", icon: uintToImgUrl( - community.description?.identity?.images?.thumbnail.payload ?? + community.description?.identity?.images?.thumbnail?.payload ?? new Uint8Array() ), members: 0,