diff --git a/beta/src/pages/learn/choosing-the-state-structure.md b/beta/src/pages/learn/choosing-the-state-structure.md index 1d90acc3..e46beac1 100644 --- a/beta/src/pages/learn/choosing-the-state-structure.md +++ b/beta/src/pages/learn/choosing-the-state-structure.md @@ -2042,7 +2042,6 @@ const initialItems = [ ]; export default function TravelPlan() { - const [title, setTitle] = useState(''); const [items, setItems] = useState(initialItems); const [total, setTotal] = useState(3); const [packed, setPacked] = useState(1); @@ -2182,7 +2181,6 @@ const initialItems = [ ]; export default function TravelPlan() { - const [title, setTitle] = useState(''); const [items, setItems] = useState(initialItems); const total = items.length;