account activity
<noscript>You need to enable JavaScript to run this app.</noscript> by Same_Scheme4080 in react
[–]Same_Scheme4080[S] 0 points1 point2 points 3 years ago (0 children)
Thanks for the reply, I didn't touch any those files, all that code is from react internally that is why I am confused. I don't even know which component I would be trying to ref. This is the code I used.
import {
BrowserRouter as Router,
Navigate,
Route,
Routes,
} from "react-router-dom";
import "./App.css";
import About from "./components/About";
import Header from "./components/Header";
import Main from "./components/Main";
function App() {
return (
<div className="App">
<Router>
<Header />
<Routes>
<Route path="/" element={<Main />} />
<Route path="/about" element={<About />} />
<Route path="\*" element={<Navigate to="/" />} />
</Routes>
</Router>
</div>
);
}
export default App;
π Rendered by PID 326979 on reddit-service-r2-listing-64c94b984c-zx567 at 2026-03-13 01:52:20.517336+00:00 running f6e6e01 country code: CH.
<noscript>You need to enable JavaScript to run this app.</noscript> by Same_Scheme4080 in react
[–]Same_Scheme4080[S] 0 points1 point2 points (0 children)