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