Unset Debug Variables and Remove filled ToDo comment
This commit is contained in:
parent
040619d936
commit
64e670d62e
3 changed files with 2 additions and 3 deletions
|
@ -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)) {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue