From b1e5a946c43497933d582cbf303be61308c69bdf Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Tue, 20 Aug 2024 10:43:33 +0800 Subject: [PATCH] fix display detail --- src/pages/Payment/Details_GLD/PaymentDetails.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/Payment/Details_GLD/PaymentDetails.js b/src/pages/Payment/Details_GLD/PaymentDetails.js index 713c533..80c979a 100644 --- a/src/pages/Payment/Details_GLD/PaymentDetails.js +++ b/src/pages/Payment/Details_GLD/PaymentDetails.js @@ -14,11 +14,14 @@ import Loadable from 'components/Loadable'; const MainCard = Loadable(React.lazy(() => import('components/MainCard'))); const LoadingComponent = Loadable(React.lazy(() => import('pages/extra-pages/LoadingComponent'))); import DownloadIcon from '@mui/icons-material/Download'; +import {useIntl} from "react-intl"; // ==============================|| DASHBOARD - DEFAULT ||============================== // const PaymentDetails = ({ formData,doPrint,onDownload }) => { + const intl = useIntl(); const [data, setData] = React.useState({}); const [onReady, setOnReady] = React.useState(false); + // const { locale } = intl; React.useEffect(() => { if (formData != null && formData != undefined && Object.keys(formData).length > 0) {