@trii/components 2.0.22 → 2.0.23

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/dist/esm/index.js CHANGED
@@ -8838,7 +8838,7 @@ const Header = ({ imgUrl, name, contactId, navigate, isLoading = false, onError,
8838
8838
  ? `/a/contacts/business/${contactId}`
8839
8839
  : `/a/contacts/contacts/${contactId}`);
8840
8840
  const handleNavigateToConversations = handleNavigation(contactId
8841
- ? `/a/conversations/conversations?conversationId=${contactId}`
8841
+ ? `/a/conversations/conversations?${isBusiness ? 'businessId' : 'contactId'}=${contactId}`
8842
8842
  : '/a/conversations/conversations');
8843
8843
  const displayName = name || 'Unknown Contact';
8844
8844
  const avatarAlt = `Avatar for ${displayName}`;