Skip to content

SeparatorRowRenderer renders <div> inside <tr>, causing invalid DOM nesting warning #28184

Open

Description

@devanshu0x

Issue Summary

SeparatorRowRenderer renders a <div> directly inside a <tr>, which violates valid HTML table structure rules. This results in a React validateDOMNesting warning in development and can potentially lead to hydration mismatches in SSR environments.

Steps to Reproduce

  1. Run the project locally
  2. Navigate to http://localhost:3000/bookings/upcoming
  3. Open the browser console.

Actual Results

  • React logs a validateDOMNesting warning
  • Next.js overlay displays the error in development mode.
  • The separator row renders with invalid DOM structure.

Expected Results

  • SeparatorRowRenderer should render valid table structure.
  • No validateDOMNesting warnings should appear in the console.

Technical details

  • Next.js: 16.1.5 (Turbopack)
  • React: 18.2.0
  • Node.js: v22.22.0
  • Yarn: 4.12.0
  • Browser: Chrome (latest)

Evidence

  • Next.js error overlay screenshots attached below.
Image Image

Activity

  1. linear commented on Feb 26, 2026

    @linear
  2. added a commit that references this issue on Apr 17, 2026
    91c1011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions