From 4ceb91466eb15b8ad77ce3cf8923e58ac534d041 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sun, 1 Jun 2025 16:23:33 +0330 Subject: [PATCH] request with auth --- src/pages/company/MyCompany.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/company/MyCompany.tsx b/src/pages/company/MyCompany.tsx index 9a5c311..0a6420d 100644 --- a/src/pages/company/MyCompany.tsx +++ b/src/pages/company/MyCompany.tsx @@ -7,6 +7,8 @@ import Button from '../../components/Button' import { buildPath } from '../../helpers/utils' import { Pages } from '../../config/Pages' import MyProduct from './components/MyProduct' +import withAuth from '../../hoc/withAuth' + const CompanyDetail: FC = () => { const { slug } = useParams() @@ -161,4 +163,4 @@ const CompanyDetail: FC = () => { } } -export default CompanyDetail \ No newline at end of file +export default withAuth(CompanyDetail) \ No newline at end of file