Skip to content

Commit

Permalink
update link on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnorton committed Nov 11, 2024
1 parent 8dc9a57 commit f7245f5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/components/ActivationsPages/GameActivationPlayLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ export default function GameActivationPlayLayout({
return;

toast(
`${element.emoji} ${
userFromMessage?.name
`${element.emoji} ${userFromMessage?.name
} acabou de descobrir ${element.name.toUpperCase()} e tem mais chance de ganhar!`,
{
position: "bottom-left",
Expand Down Expand Up @@ -277,16 +276,16 @@ export default function GameActivationPlayLayout({
>
{gameOver
? elements
.slice()
.sort((a, b) =>
a.isNew === b.isNew ? 0 : a.isNew ? -1 : 1
)
.map((element, index) =>
renderElement(element, index, provided)
)
: elements.map((element, index) =>
.slice()
.sort((a, b) =>
a.isNew === b.isNew ? 0 : a.isNew ? -1 : 1
)
.map((element, index) =>
renderElement(element, index, provided)
)}
)
: elements.map((element, index) =>
renderElement(element, index, provided)
)}
</div>
)}
</Droppable>
Expand Down

0 comments on commit f7245f5

Please sign in to comment.