Skip to content

Commit

Permalink
Fix member dropdown on gleev
Browse files Browse the repository at this point in the history
  • Loading branch information
ikprk committed Aug 2, 2024
1 parent 597b991 commit c18a1d4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,14 @@ export const MemberDropdown = forwardRef<HTMLDivElement, MemberDropdownProps>(
unseenNotificationsCounts={unseenNotificationsCounts}
onSignOut={handleLogout}
onShowFundsDialog={() => {
if (activeChannel?.creatorToken?.token.id) {
setOpenRevenueShareModal(true)
if (dropdownType === 'channel') {
activeChannel?.creatorToken?.token.id
? setOpenRevenueShareModal(true)
: setShowWithdrawDialog(true)
return
}

dropdownType === 'channel' ? setShowWithdrawDialog(true) : setShowSendDialog(true)
setShowSendDialog(true)
}}
accountBalance={accountBalance}
onAddNewChannel={handleAddNewChannel}
Expand Down

0 comments on commit c18a1d4

Please sign in to comment.