Browse Source

Update with correct index (#5266)

main
Arafat Iqbal 2 years ago
committed by GitHub
parent
commit
9d5d1e29e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/learn/state-a-components-memory.md

2
beta/src/content/learn/state-a-components-memory.md

@ -924,7 +924,7 @@ export default function Gallery() {
const [showMore, setShowMore] = useState(false);
function handleNextClick() {
setIndex(index + 1000);
setIndex(index + 1);
}
function handleMoreClick() {

Loading…
Cancel
Save