Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
carburo authored Dec 10, 2023
1 parent dc3aa57 commit ff196f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useOptimistic.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function Thread({ messages, sendMessage }) {

export default function App() {
const [messages, setMessages] = useState([
{ text: "Hola!", sending: false, key: 1 }
{ text: "¡Hola!", sending: false, key: 1 }
]);
async function sendMessage(formData) {
const sentMessage = await deliverMessage(formData.get("message"));
Expand Down

0 comments on commit ff196f8

Please sign in to comment.