Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,6 @@ export default function ContactList({contacts, selectedId, dispatch}) {
```

```js Chat.js
import {useState} from 'react';

export default function Chat({contact, message, dispatch}) {
return (
Expand Down
1 change: 0 additions & 1 deletion beta/src/content/learn/state-a-components-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,6 @@ Here is a fixed version that uses a regular `name` variable declared in the func
<Sandpack>

```js
import { useState } from 'react';

export default function FeedbackForm() {
function handleClick() {
Expand Down