Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

209
Views
Uncaught TypeError: Cannot read properties of undefined (reading 'path')
import React from 'react';

import CollectionsOverview from '../../components/collections-overview/collections-overview.component';

import {Routes, Route} from 'react-router-dom';

import CategoryPage from '../category/category.component';


const ShopPage = ({match}) =>{

    return (<div className="shop-page"> 

         <Routes>

           <Route exact path={ `${match.path}` } element={<CollectionsOverview />}/>

           <Route exact path={ `${match.path}/:categoryId`} element={<CategoryPage/>}/>
           
        </Routes>

    </div>

    )};

export default ShopPage;
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The prop value match is undefined, which means that wherever you're using the ShopPage component, you have not defined the attribute, or the attribute value is undefined.

Thus, change it to something like:

<ShopPage match={somethinghere} />
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!