mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 18:58:17 +00:00
emoji
This commit is contained in:
@@ -713,7 +713,7 @@ function ChatRoom({ roomId }) {
|
||||
const [message, setMessage] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
function createOptions() { // No need for useCallback or function dependencies!
|
||||
function createOptions() { // ✅ No need for useCallback or function dependencies!
|
||||
return {
|
||||
serverUrl: 'https://localhost:1234',
|
||||
roomId: roomId
|
||||
|
||||
Reference in New Issue
Block a user