Skip to content

Commit ec3f749

Browse files
FollMoon04diasbruno
FollMoon04
authored andcommitted
fix item index
1 parent d56e295 commit ec3f749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/nested_modals/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Item extends Component {
3434
labelledby: "item_title",
3535
describedby: "item_info"
3636
}}>
37-
<h1 id="item_title">Item: {itemNumber}</h1>
37+
<h1 id="item_title">Item: {itemNumber + 1}</h1>
3838
<div id="item_info">
3939
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pulvinar varius auctor. Aliquam maximus et justo ut faucibus. Nullam sit amet urna molestie turpis bibendum accumsan a id sem. Proin ullamcorper nisl sapien, gravida dictum nibh congue vel. Vivamus convallis dolor vitae ipsum ultricies, vitae pulvinar justo tincidunt. Maecenas a nunc elit. Phasellus fermentum, tellus ut consectetur scelerisque, eros nunc lacinia eros, aliquet efficitur tellus arcu a nibh. Praesent quis consequat nulla. Etiam dapibus ac sem vel efficitur. Nunc faucibus efficitur leo vitae vulputate. Nunc at quam vitae felis pretium vehicula vel eu quam. Quisque sapien mauris, condimentum eget dictum ut, congue id dolor. Donec vitae varius orci, eu faucibus turpis. Morbi eleifend orci non urna bibendum, ac scelerisque augue efficitur.</p>
4040
</div>

0 commit comments

Comments
 (0)