Skip to content

Commit

Permalink
Merge pull request #252 from Sunbird-ALL/all-1.3-feedback-change
Browse files Browse the repository at this point in the history
All 1.3 feedback change
  • Loading branch information
gouravmore authored Jan 8, 2025
2 parents 2db6ecc + 7041ea6 commit 69fce47
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 180 deletions.
7 changes: 4 additions & 3 deletions src/components/Practice/Mechanics4.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,9 @@ const Mechanics4 = ({
paddingX: type === "word" ? 0 : "20px",
}}
>
{selectedWords?.map((elem) => (
{selectedWords?.map((elem, ind) => (
<span
key={ind}
onClick={() => handleWords(elem, true)}
className={
answer === "wrong"
Expand Down Expand Up @@ -267,8 +268,8 @@ const Mechanics4 = ({
mb: 3,
}}
>
{words?.map((elem) => (
<React.Fragment key={elem}>
{words?.map((elem, ind) => (
<React.Fragment key={ind}>
{type === "word" ? (
<Box
onClick={() => handleWords(elem)}
Expand Down
Loading

0 comments on commit 69fce47

Please sign in to comment.