request with auth

This commit is contained in:
hamid zarghami
2025-06-01 16:23:33 +03:30
parent 46e29c4909
commit 4ceb91466e
+3 -1
View File
@@ -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
export default withAuth(CompanyDetail)