Unset Debug Variables and Remove filled ToDo comment

This commit is contained in:
Neshura 2022-12-19 22:18:04 +01:00
parent 040619d936
commit 64e670d62e
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
3 changed files with 2 additions and 3 deletions

View file

@ -8,7 +8,7 @@ import { NavMenuFooter } from './footer';
const PageNavbar = ({ mobile }: { mobile: number }) => { const PageNavbar = ({ mobile }: { mobile: number }) => {
const path = usePathname(); const path = usePathname();
const [sideBarActive, setSideBarActive] = useState(true); //DEBUG: set to false const [sideBarActive, setSideBarActive] = useState(false);
function handleSidebar(event: any) { function handleSidebar(event: any) {
if (!event.currentTarget.contains(event.relatedTarget)) { if (!event.currentTarget.contains(event.relatedTarget)) {

View file

@ -4,7 +4,6 @@ import styled, { css, DefaultTheme } from 'styled-components';
import { Service, Game } from '../../interfaces/CardTypes'; import { Service, Game } from '../../interfaces/CardTypes';
// needed for Online Status checks // needed for Online Status checks
// TODO: migrate to shared Status type for Games and Services
interface OnlinePropType { interface OnlinePropType {
status: string; status: string;
} }

View file

@ -35,7 +35,7 @@ export const StyleSelector = ({ mobile }: { mobile: number }) => {
} }
} }
const [visible, setVisible] = useState(true); //DEBUG set to false const [visible, setVisible] = useState(false);
const [buttonFocus, setButtonFocus] = useState(visible); const [buttonFocus, setButtonFocus] = useState(visible);
function handleBlur(event:any) { function handleBlur(event:any) {