import React from "react"; import { BaseRecord } from "@refinedev/core"; import { EditButton, ShowButton, DeleteButton } from "@refinedev/antd"; import { Table, Space, Tag } from "antd"; import { SmartList } from "@cundi/refine-xaf"; import { useTranslation } from "react-i18next"; export const OrderList: React.FC = () => { const { t } = useTranslation(); return ( value ? new Date(value).toLocaleDateString() : "-"} // @ts-ignore defaultVisible /> value ? `$${value.toFixed(2)}` : "$0.00"} // @ts-ignore defaultVisible /> ( )} /> ); };