Ignore:
Timestamp:
06/11/22 23:50:19 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
4a1a3ca
Parents:
87614a5
Message:

Code cleanings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/Header.jsx

    r87614a5 r64dc53b  
    33import Link from 'next/link'
    44
    5 import { useRouter } from 'next/router'
    6 
    7 import { useState, useEffect } from 'react'
     5import { useEffect } from 'react'
    86import { useDispatch, useSelector } from 'react-redux'
    97
     
    2321      ...styleState.style,
    2422      displayRegisterScreen: true,
     23      registerScreenInfo: {
     24        ...styleState.style.registerScreenInfo,
     25        setFocus: true
     26      }
    2527    }))
    2628  }
     
    3032      ...styleState.style,
    3133      displayLoginScreen: true,
     34      loginScreenInfo: {
     35        ...styleState.style.loginScreenInfo,
     36        setFocus: true
     37      }
    3238    }))
    3339  }
     
    128134        </div>
    129135      </Link>
    130       <nav>
     136      <nav className='mainHeaderNavigation'>
    131137          <ul>
    132138            {playerState.player.displayName === '' || playerState.player.displayName === 'Guest' ? (
Note: See TracChangeset for help on using the changeset viewer.