@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/cjs/index.js CHANGED
@@ -8858,7 +8858,7 @@ const Header = ({ imgUrl, name, contactId, navigate, isLoading = false, onError,
8858
8858
  ? `/a/contacts/business/${contactId}`
8859
8859
  : `/a/contacts/contacts/${contactId}`);
8860
8860
  const handleNavigateToConversations = handleNavigation(contactId
8861
- ? `/a/conversations/conversations?conversationId=${contactId}`
8861
+ ? `/a/conversations/conversations?${isBusiness ? 'businessId' : 'contactId'}=${contactId}`
8862
8862
  : '/a/conversations/conversations');
8863
8863
  const displayName = name || 'Unknown Contact';
8864
8864
  const avatarAlt = `Avatar for ${displayName}`;