Skip to content

Chat crashes with React error 185 (max update depth) #2165

@charlesvien

Description

@charlesvien

Problem

The chat panel crashed with the "Something went wrong" error boundary showing:

Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

React error #185 is "Maximum update depth exceeded", which indicates an infinite setState / re-render loop (e.g. a setState call inside useEffect/componentDidUpdate without a guarding condition).

Clicking "Try again" recovered the session, so the underlying state seems fine, the error is in a render path.

Image

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