diff --git a/src/content/learn/lifecycle-of-reactive-effects.md b/src/content/learn/lifecycle-of-reactive-effects.md index 72a2e77559f..570f9339d89 100644 --- a/src/content/learn/lifecycle-of-reactive-effects.md +++ b/src/content/learn/lifecycle-of-reactive-effects.md @@ -1375,7 +1375,7 @@ export default function App() { ``` ```js {expectedErrors: {'react-compiler': [8]}} src/ChatRoom.js active -import { useState, useEffect } from 'react'; +import { useEffect } from 'react'; export default function ChatRoom({ roomId, createConnection }) { useEffect(() => {