How to change state in a component on click of a button from another Component?

后端 未结 0 1453
不知归路
不知归路 2021-02-03 23:15

I want that the user should be able to see the logout link in header once he is logged in.

The logout link is in Header.jsx:


export default function Heade         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题