1 import { AlertCircleIcon } from "lucide-react";
2 import ExternalLink from "src/components/ExternalLink";
3 import { Alert, AlertDescription, AlertTitle } from "src/components/ui/alert";
4 5 export function ChannelPublicPrivateAlert() {
6 return (
7 <Alert>
8 <AlertCircleIcon />
9 <AlertTitle>Conflicting Private / Public Channels</AlertTitle>
10 <AlertDescription>
11 <div className="mb-2">
12 You will not be able to receive payments on any private channels. It
13 is recommended to only open all private or all public channels.
14 </div>
15 <ExternalLink
16 to={
17 "https://guides.getalby.com/user-guide/alby-hub/faq/should-i-open-a-private-or-public-channel"
18 }
19 className="underline"
20 >
21 Learn more
22 </ExternalLink>
23 </AlertDescription>
24 </Alert>
25 );
26 }
27