Browse Source

removed unused useState (#5095)

main
kaushalyap 2 years ago
committed by GitHub
parent
commit
23218f66c5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/learn/synchronizing-with-effects.md

2
beta/src/content/learn/synchronizing-with-effects.md

@ -488,7 +488,7 @@ Let's try running this code:
<Sandpack>
```js
import { useState, useEffect } from 'react';
import { useEffect } from 'react';
import { createConnection } from './chat.js';
export default function ChatRoom() {

Loading…
Cancel
Save