Ignore:
Timestamp:
07/19/22 19:38:51 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
41d3f60
Parents:
faff334
Message:

Added authentication with google

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/roulette/RouletteHeader.jsx

    rfaff334 r22367db  
     1/* eslint-disable @next/next/no-html-link-for-pages */
    12import React from 'react'
    23
     
    7677                            }
    7778
    78                             if (newRes.data?.rouletteGame?.player?.credits !== playerState.player.credits && newRes.data?.rouletteGame?.player?.credits > 0) {
     79                            if (newRes.data?.rouletteGame?.player?.credits !== playerState.player.credits && newRes.data?.rouletteGame?.player?.credits >= 0) {
    7980                                dispatch(setPlayer({
    8081                                    ...playerState.player,
     
    146147    return (
    147148        <header className="header">
    148             <Link href="/" passHref>
     149            <a href="/">
    149150                <h2>
    150151                    <AiOutlineArrowLeft />
    151152                </h2>
    152             </Link>
     153            </a>
    153154            <nav>
    154155                <ul>
Note: See TracChangeset for help on using the changeset viewer.