Browse Source

Fix roomId not passed to child (#5795)

main
Andriamanamihaga Zo Toavina 2 years ago
committed by GitHub
parent
commit
29789460cc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/content/reference/react/useEffect.md

2
src/content/reference/react/useEffect.md

@ -1208,7 +1208,7 @@ export default function App() {
</button>
</label>
{show && <hr />}
{show && <ChatRoom />}
{show && <ChatRoom roomId={roomId}/>}
</>
);
}

Loading…
Cancel
Save