Only selected members and roles will be able to view this channel.
{isPrivate && !isFetching && (
This channel is hidden from members without explicit access. Users with the Administrator permission or space owners can always see all channels.
)}
{canManageChannels && (
)}
setShowDeleteConfirm(false)}
onConfirm={handleDeleteChannel}
title={`Delete #${channel.name}?`}
description={<>
This will permanently delete #{channel.name} and all of its messages.
{channel.type === 'voice' && ' Any users currently in this voice channel will be disconnected.'}
{' '}This action cannot be undone.
>}
confirmLabel="Delete Channel"
variant="danger"
loading={isDeleting}
/>
>
);
}