import React from 'react'; function UrlMiddle ({publishInChannel, loggedInChannelName, loggedInChannelShortId}) { if (publishInChannel) { if (loggedInChannelName) { return {loggedInChannelName}:{loggedInChannelShortId} /; } return @channelSelect a channel below /; } return ( xyzThis will be a random id / ); } export default UrlMiddle;