1 import { DataTableEmptyStateProps } from "@medusajs/ui";
2 import { useMemo } from "react";
3
4 export const useSalesChannelTableEmptyState = (): DataTableEmptyStateProps => {
5 return useMemo(() => {
6 const content: DataTableEmptyStateProps = {
7 empty: {
8 heading: "No sales channels found",
9 description: "Create a new sales channel to get started",
10 },
11 filtered: {
12 heading: "No results",
13 description: "No sales channels match the current filter criteria.",
14 },
15 };
16
17 return content;
18 }, []);
19 };