Guihua Ran
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
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; |
|
|
|