-
- {selectedChannel?.title}
-
- {channelBalance !== undefined ? (
+
+
+
+
+ {dropdownEntity.title}
+
+ {type === 'channel' ? (
+ channelBalance ? (
+
+
+
+
+ ) : (
+
+ )
+ ) : (
+
+ {accountBalance !== undefined ? (
+
+
}
+ withTooltip={false}
as="span"
- variant="t200-strong"
- value={channelBalance}
+ variant="t200"
+ value={accountBalance}
format="short"
- withDenomination
+ isNegative={isInDebt}
/>
- ) : (
-
- )}
-
- ) : (
-
-
- {activeMembership?.handle}
-
-
- {accountBalance !== undefined ? (
-
-
- }
- withTooltip={false}
- as="span"
- variant="t200-strong"
- value={accountBalance}
- format="short"
- isNegative={isInDebt}
- withDenomination
- />
-
- ) : (
-
- )}
-
-
- )}
-
- ))}
-
-
-
- {memberChanneltransition(({ opacity, position }) => (
- {
- onCloseDropdown?.()
- onShowFundsDialog()
- }}
+
+ ) : (
+
+ )}
+
+ )}
+
+
+ {
+ onCloseDropdown?.()
+ onShowFundsDialog()
+ }}
+ variant="t100"
+ color="colorCoreNeutral200Lighten"
+ >
+ {type === 'channel' ? 'Withdraw' : 'Transfer'}
+
+
+
+
- {type === 'channel' ? 'Withdraw' : 'Transfer'}
-
- ))}
-
-
-
- Learn about {atlasConfig.joystream.tokenTicker}
-
-
+ Learn about {atlasConfig.joystream.tokenTicker}
+
+
+
+