Skip to content

Commit 2f8bd30

Browse files
authored
added missing roomId prop to useEffect docs (#5803)
1 parent b9af9f5 commit 2f8bd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useEffect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ export default function App() {
13821382
</button>
13831383
</label>
13841384
{show && <hr />}
1385-
{show && <ChatRoom />}
1385+
{show && <ChatRoom roomId={roomId}/>}
13861386
</>
13871387
);
13881388
}

0 commit comments

Comments
 (0)