Skip to content

[BUG]Post Ride page renders blank when opened directly in a new tab #15

@Pranavgitty

Description

@Pranavgitty

Browser

Chrome

Area

Post Ride

Steps to reproduce

  1. Open the application in a browser.
  2. Instead of navigating through the application's UI, directly access the Post Ride route:
    • Open a new browser tab and enter /post-ride in the URL, or
    • Manually type the complete URL (e.g. http://localhost:5173/post-ride) into the address bar.
  3. Observe that the page does not render correctly and displays a blank screen.
  4. Open the browser's Developer Tools console.
  5. Notice that React throws a runtime error related to hook execution order ("Rendered fewer hooks than expected").

Expected behavior

The Post Ride /Post Intent page should render correctly even on opening in a new tab.

What actually happened

When the Post Ride page is accessed directly (for example by opening /post-ride in a new browser tab or by manually entering the URL), the page fails to render and displays a blank screen.

The issue does not occur when navigating to the page through the normal application flow. However, direct access consistently triggers a React runtime error in the browser console related to hook execution order.

The console reports that fewer hooks were rendered than expected, causing React to stop rendering the component. As a result, users are unable to access the Post Ride form when visiting the route directly.

This behavior can be confusing for users because the URL appears valid, but the page remains blank with no visible indication of what went wrong.

Logs / Screenshots

Image Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions