HomePhabricator
Diffusion Comm 2764ec4bca72

[web] [fix] fix console error

Description

[web] [fix] fix console error

Summary:
fix error in console
https://linear.app/comm/issue/ENG-839/react-dom-warning-in-console

react_devtools_backend.js:4061 Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
    in div (created by AppSwitcher)
    in span (created by AppSwitcher)
    in p (created by AppSwitcher)
    in li (created by AppSwitcher)
    in ul (created by AppSwitcher)
    in div (created by AppSwitcher)
    in AppSwitcher (created by LeftLayoutAside)
    in aside (created by LeftLayoutAside)
    in LeftLayoutAside (created by App)
    in div (created by App)
    in DndProvider (created by App)
    in App (created by ConnectedApp)
    in ConnectedApp (created by AppWithProvider)
    in ModalProvider (created by AppWithProvider)
    in AppWithProvider (created by Context.Consumer)
    in Route (created by RootComponent)
    in Router (created by RootComponent)
    in RootComponent (created by HotExportedRootComponent)
    in AppContainer (created by HotExportedRootComponent)
    in HotExportedRootComponent (created by RootProvider)
    in Provider (created by RootProvider)
    in RootProvider

Test Plan: Error should no longer load, you need to have unread messages in order to trigger the error.

Reviewers: atul, varun, palys-swm

Reviewed By: atul, varun

Subscribers: ashoat, palys-swm, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3358

Details

Provenance
benschacAuthored on Mar 9 2022, 8:31 AM
Reviewer
atul
Differential Revision
D3358: [web] [fix] fix console error
Parents
rCOMM816c1f56fa3c: [web] Change `messageActionButtons svg` color on hover
Branches
Unknown
Tags
Unknown