Skip to content

Commit

Permalink
Merge pull request #84 from NovaDrake76/dev
Browse files Browse the repository at this point in the history
fix: slots spam button
  • Loading branch information
NovaDrake76 committed Jun 11, 2024
2 parents 8e9c2eb + b6ac373 commit d67a4ea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ dist-ssr
*.sw?
.env
backend/.env
backend/buyAllItems.js

.env
.env
10 changes: 10 additions & 0 deletions src/components/modalsChilden/Artists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,19 @@ const Assets = () => {
The Cirno profile picture is from AshleyChan-D: <a href="https://www.deviantart.com/ashleychan-d/art/Cirno-Fumo-Fanart-854752870" target="_blank" rel="noreferrer" className="text-blue-500">https://www.deviantart.com/ashleychan-d/art/Cirno-Fumo-Fanart-854752870</a>.
</p>

<p className="text-md">
The Casino banner picture is from Gensokyo 2077: <a href="https://www.pixiv.net/en/artworks/110665474" target="_blank" rel="noreferrer" className="text-blue-500">https://www.pixiv.net/en/artworks/110665474</a>.
</p>

<p className="text-md">
The Mike banner picture is from Azura: <a href="https://www.pixiv.net/en/users/106357304" target="_blank" rel="noreferrer" className="text-blue-500">https://www.pixiv.net/en/users/106357304</a>.
</p>


<p className="text-md">
The Joon logo is from 忍忍: <a href="https://www.pixiv.net/en/artworks/66805800" target="_blank" rel="noreferrer" className="text-blue-500">https://www.pixiv.net/en/artworks/66805800</a>.
</p>

</div>
</div>
);
Expand Down
3 changes: 1 addition & 2 deletions src/pages/Slot/Slot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Slots = () => {


const handleSpin = async () => {

setIsSpinning(true)
if (userData == null) {
toogleUserFlow(true);
return;
Expand All @@ -86,7 +86,6 @@ const Slots = () => {
setResponse(response);
setGrid(response.gridState);
setWinningLines(response?.lastSpinResult.map((result: { line: any; }) => result.line) || [])
setIsSpinning(true);
if (response.totalPayout >= betAmount * 8) {
setOpenBigWin(true);
startAudio();
Expand Down

0 comments on commit d67a4ea

Please sign in to comment.