Fightpandemics: React warning on Post screen: <a> cannot appear as a descendant of <a>

Created on 27 Jun 2020  路  1Comment  路  Source: FightPandemics/FightPandemics

Steps to recreate:

  1. Log in
  2. Navigate to feed
  3. Click view more on any post
index.js:1 Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
    in a (created by Button)
    in TouchFeedback (created by Button)
    in Button (created by Styled(Styled(Styled(Button))))
    in Styled(Styled(Styled(Button))) (at WizardFormNav.js:38)
    in a (created by LinkAnchor)
    in LinkAnchor (created by Context.Consumer)
    in Link (at WizardFormNav.js:37)
    in div (created by styled.div)
    in styled.div (at WizardFormNav.js:36)
    in WizardFormNav (at Post.js:389)
    in div (created by a)
    in a (created by Styled(a))
    in Styled(a) (at Post.js:389)
    in div (created by Card)
    in Card (created by Styled(Card))
    in Styled(Card) (at Post.js:341)
    in Post (created by ConnectFunction)
    in ConnectFunction (at PostPage.js:249)
    in PostPage (at NavigationLayout.js:277)
    in main (created by styled.main)
    in styled.main (at NavigationLayout.js:276)
    in div (created by Drawer)
    in div (created by Drawer)
    in Drawer (created by Drawer)
    in Drawer (at NavigationLayout.js:255)
    in div (at NavigationLayout.js:254)
    in NavigationLayout (at RouteWithSubRoutes.js:80)
    in Route (at RouteWithSubRoutes.js:43)
    in RouteWithSubRoutes (created by ConnectFunction)
    in ConnectFunction (at App.js:21)
    in Switch (at App.js:19)
    in Router (created by BrowserRouter)
    in BrowserRouter (at App.js:18)
    in App (created by ConnectFunction)
    in ConnectFunction (at src/index.js:21)
    in Provider (at src/index.js:19)
FRONTEND Frontend clean up bug

Most helpful comment

1067 also fixed this bug.

>All comments

1067 also fixed this bug.

Was this page helpful?
0 / 5 - 0 ratings