@pubuduth-aplicy/chat-ui 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubuduth-aplicy/chat-ui",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -28,12 +28,12 @@ console.log(conversation);
28
28
  >
29
29
  <img
30
30
  className="w-12 h-12 relative rounded-[100px]"
31
- src={conversation.profilePic}
31
+ src={conversation.profilePic|| conversation.idpic}
32
32
  />
33
33
  <div className="grow shrink basis-0 flex-col justify-start items-start gap-1 inline-flex">
34
34
  <div className="self-stretch justify-start items-center inline-flex">
35
35
  <div className="grow shrink basis-0 text-slate-900 text-base font-semibold font-['Inter'] leading-tight">
36
- {conversation.username}
36
+ {conversation.firstname}
37
37
  </div>
38
38
  </div>
39
39
  </div>