From c735211cd8029891548d3fa352fb09f58cc5e3a1 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Fri, 17 May 2024 00:43:48 +0200 Subject: [PATCH] cleanup --- client/src/components/navigation.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/components/navigation.tsx b/client/src/components/navigation.tsx index e7df5b3..7eb48c3 100644 --- a/client/src/components/navigation.tsx +++ b/client/src/components/navigation.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import { createContext, useContext, useEffect, useState } from 'react' +import { createContext, useContext, useState } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faDownload, faUpload, faEraser, faBook, faBookOpen, faGlobe, faHome, faArrowRight, faArrowLeft, faXmark, faBars, faCode, @@ -13,7 +13,6 @@ import '../css/navigation.css' import { PopupContext } from './popup/popup' import { useSelector } from 'react-redux' import { selectProgress } from '../state/progress' -import ReactCountryFlag from 'react-country-flag' import lean4gameConfig from '../config.json' import { Flag } from './flag' @@ -211,7 +210,6 @@ function MobileNavigationLevel () { } - /** The skeleton of the navigation which is the same across all layouts. */ export function Navigation () { const { t, i18n } = useTranslation()