security/codeql-dependabot-gitleaks
| 1 | import { DataTableEmptyStateProps } from "@medusajs/ui"; |
| 2 | import { useMemo } from "react"; |
| 3 | |
| 4 | export const useGeneralEmptyState = (): DataTableEmptyStateProps => { |
| 5 | return useMemo(() => { |
| 6 | const content: DataTableEmptyStateProps = { |
| 7 | empty: { |
| 8 | heading: "No records found", |
| 9 | }, |
| 10 | filtered: { |
| 11 | heading: "No records found", |
| 12 | }, |
| 13 | }; |
| 14 | |
| 15 | return content; |
| 16 | }, []); |
| 17 | }; |