Skip to content

Fixed React routing issue for login button.#197

Open
hemannt003 wants to merge 1 commit intoc2siorg:mainfrom
hemannt003:gdb03
Open

Fixed React routing issue for login button.#197
hemannt003 wants to merge 1 commit intoc2siorg:mainfrom
hemannt003:gdb03

Conversation

@hemannt003
Copy link
Copy Markdown

Fixes #195

1. webapp/src/pages/Login/Login.jsx

  • Simple placeholder page with a heading and short text, using theme-aware inherited styles from body.

2. webapp/src/pages/Login/Login.css

  • Light layout (max width, spacing) consistent with the rest of the app.

3. webapp/src/App.jsx

  • Import: import Login from "./pages/Login/Login";
  • Route: <Route path="/login" element={} /> (placed before the debug routes)
  • Removed the old “You can add more routes here” comment (the /login route is in place)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Login button navigates to /login route which is undefined in App.jsx

1 participant