Why isn’t react router passing down the params using match or even useParams?

Hello I’m trying to get the params from my route to a component two components down.

         <Route path='/Projects'>
            <Route path='' element={<ProjectsList
              loggedIn={loggedIn}
              loggedInUsername={username}
              setSelectedProject={setSelectedProject}/>}
            />

            <Route path=":id" element={<ProjectSubPage
              selectedProject={selectedProject}/>}
            />
        </Route>

I’ve tried putting the route with the path=”:id” outside of the route. I have tried moving the route to a component down but then it can’t find it. I tried using exact. I tried using nested paths.