import { channelUrl } from "@dashboard/channels/urls"; import CardTitle from "@dashboard/components/CardTitle"; import Link from "@dashboard/components/Link"; import Skeleton from "@dashboard/components/Skeleton"; import { ChannelFragment } from "@dashboard/graphql"; import { Card, CardContent, Typography } from "@material-ui/core"; import React from "react"; import { useIntl } from "react-intl"; export interface OrderChannelSectionCardProps { channel?: Pick; } export const OrderChannelSectionCard: React.FC = ({ channel, }) => { const intl = useIntl(); return ( {!channel ? ( ) : ( {channel.name ?? "..."} )} ); }; OrderChannelSectionCard.displayName = "OrderChannelSectionCard"; export default OrderChannelSectionCard;