request with auth
This commit is contained in:
@@ -7,6 +7,8 @@ import Button from '../../components/Button'
|
|||||||
import { buildPath } from '../../helpers/utils'
|
import { buildPath } from '../../helpers/utils'
|
||||||
import { Pages } from '../../config/Pages'
|
import { Pages } from '../../config/Pages'
|
||||||
import MyProduct from './components/MyProduct'
|
import MyProduct from './components/MyProduct'
|
||||||
|
import withAuth from '../../hoc/withAuth'
|
||||||
|
|
||||||
const CompanyDetail: FC = () => {
|
const CompanyDetail: FC = () => {
|
||||||
|
|
||||||
const { slug } = useParams()
|
const { slug } = useParams()
|
||||||
@@ -161,4 +163,4 @@ const CompanyDetail: FC = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CompanyDetail
|
export default withAuth(CompanyDetail)
|
||||||
Reference in New Issue
Block a user