Skip to content

Commit

Permalink
Renamed param ind to index.
Browse files Browse the repository at this point in the history
  • Loading branch information
michielvandergeest committed Jun 28, 2024
1 parent b7f8814 commit db1ad44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/MemoryGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default Blits.Component('Announcer', {
<Element>
<Text font="raleway" size="80" color="white" content="Let's play memory!" x="580" y="60" />
<Text font="kalam" size="40" color="#b91c1c" content="the Accessible edition :)" x="1200" y="170" rotation="-6" />
<Element x="260" y="260">
<MemoryCard
:for="(card, index) in $cards"
Expand All @@ -76,8 +76,8 @@ export default Blits.Component('Announcer', {
`,
state() {
return {
cards: cards.concat(cards).map((card, ind) => {
return { ...card, id: `card${ind}` }
cards: cards.concat(cards).map((card, index) => {
return { ...card, id: `card${index}` }
}),
focusedRow: -1,
focusedCol: -1,
Expand Down

0 comments on commit db1ad44

Please sign in to comment.