Why isn't React router dom working in my popup.tsx?

return (
<>
<BrowserRouter>
<Routes>
<Route path="/" element={<Table data={data} />} />
<Route path="/similiar" element={<Similiar />} />
</Routes>
</BrowserRouter>
</>
)
return (
<>
<BrowserRouter>
<Routes>
<Route path="/" element={<Table data={data} />} />
<Route path="/similiar" element={<Similiar />} />
</Routes>
</BrowserRouter>
</>
)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server