Changeset 22367db for components/blackjack
- Timestamp:
- 07/19/22 19:38:51 (2 years ago)
- Branches:
- main
- Children:
- 41d3f60
- Parents:
- faff334
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/blackjack/BlackjackHeader.jsx
rfaff334 r22367db 1 /* eslint-disable @next/next/no-html-link-for-pages */ 1 2 import React from 'react' 2 3 … … 62 63 dispatch(setBlackjackGame(newRes.data?.blackjackGame)) 63 64 64 if (newRes.data?.blackjackGame?.credits !== playerState.player.credits && parseInt(newRes.data?.blackjackGame?.credits) > 0) {65 if (newRes.data?.blackjackGame?.credits !== playerState.player.credits && parseInt(newRes.data?.blackjackGame?.credits) >= 0) { 65 66 dispatch(setPlayer({ 66 67 ...playerState.player, … … 138 139 return ( 139 140 <header className="header"> 140 < Link href="/" passHref>141 <a href="/"> 141 142 <h2> 142 143 <AiOutlineArrowLeft /> 143 144 </h2> 144 </ Link>145 </a> 145 146 <nav> 146 147 <ul>
Note:
See TracChangeset
for help on using the changeset viewer.