chore(dashboard): Cleanup Pricing domain (#7035)

**What**
- Adds missing translations
- Minor cleanup

**Note**
- The domain is still missing features that are supported in V1, but are currently not available in V2. The types are also all wrong, so will need to revisit after the pricing domain is revisited, types have been added, and missing features implemented.

CLOSES CORE-1901
This commit is contained in:
Kasper Fabricius Kristensen
2024-04-09 14:53:09 +00:00
committed by GitHub
parent e1a0960e20
commit 596faf2ad3
21 changed files with 134 additions and 59 deletions
@@ -2,14 +2,15 @@ import { Text } from "@medusajs/ui"
import { createColumnHelper } from "@tanstack/react-table"
import { useMemo } from "react"
import { CustomerGroupDTO } from "@medusajs/types"
import { AdminCustomerGroupResponse } from "@medusajs/types"
import {
CreatedAtCell,
CreatedAtHeader,
} from "../../../components/table/table-cells/common/created-at-cell"
import { NameHeader } from "../../../components/table/table-cells/common/name-cell"
const columnHelper = createColumnHelper<CustomerGroupDTO>()
const columnHelper =
createColumnHelper<AdminCustomerGroupResponse["customer_group"]>()
export const useCustomerGroupTableColumns = () => {
return useMemo(