EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

Refactor RCComponent useEffects

Open iam-vipin opened this issue 2 years ago • 1 comments

Acceptance Criteria fulfillment

  • [x] Combine three useEffect hooks into one
  • [x] Set toast bar position and avatar state using store hooks
  • [x] Check if the user is authenticated using the setIsUserAuthenticated hook
  • [x] Verify that code behavior is not affected

Fixes #132 Task 9

iam-vipin avatar Feb 18 '23 08:02 iam-vipin

@VipinDevelops Thanks for this PR. I do have one question that should we fetch user details when props like toastPosition, showAvatar etc changes? Tagging @sidmohanty11.

abhinavkrin avatar Mar 09 '23 09:03 abhinavkrin