import { StockLocationExpandedDTO } from "@medusajs/types" import { useTranslation } from "react-i18next" import SalesChannelsList from "../../../../../components/molecules/sales-channels-list" import EditSalesChannels from "../edit-sales-channels" const SalesChannelsSection = ({ location, }: { location: StockLocationExpandedDTO }) => { const { t } = useTranslation() return (
{!location.sales_channels?.length ? ( {t( "sales-channels-section-not-connected-to-any-sales-channels-yet", "Not connected to any sales channels yet" )} ) : ( )}
) } export default SalesChannelsSection