minor cleanup

This commit is contained in:
djmil 2023-10-31 17:29:01 +01:00
parent 262fa0636d
commit 3eafcf302f
4 changed files with 6 additions and 13 deletions

View File

@ -1,11 +1,11 @@
import './GameMessage.css' import './GameMessage.css'
import React from 'react' import React from 'react'
import { AppContext } from '../../context/app' // import { AppContext } from '../../context/app'
export default function GameMessage() { export default function GameMessage() {
const [ctx] = React.useContext(AppContext) // const [ctx] = React.useContext(AppContext)
return ( return (
<div className='game-message'> <div className='game-message'>

View File

@ -1,9 +1,9 @@
import './index.css'; import './Header.css';
import './wave.css' import './woble.css'
import React from "react" import React from "react"
import { NavLink } from "react-router-dom"; import { NavLink } from "react-router-dom";
import OnlineToggle from '../OnlineTgl'; import OnlineToggle from './OnlineTgl';
import { AppData } from "../../context/data" import { AppData } from "../context/data"
export default function Header() { export default function Header() {
const [data] = React.useContext(AppData) const [data] = React.useContext(AppData)

View File

@ -5,13 +5,6 @@
cursor: pointer; cursor: pointer;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
/* text-transform: uppercase; */
/* font-size: 1.5rem; */
/* padding: 1rem 2rem; */
/* background-color: black; */
/* color: white; */
/* border-radius: 100px; */
/* gap: 1rem; */
} }
/* .wave > span { /* .wave > span {