cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import * as React from 'react'
|
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 { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||||
import { faDownload, faUpload, faEraser, faBook, faBookOpen, faGlobe, faHome,
|
import { faDownload, faUpload, faEraser, faBook, faBookOpen, faGlobe, faHome,
|
||||||
faArrowRight, faArrowLeft, faXmark, faBars, faCode,
|
faArrowRight, faArrowLeft, faXmark, faBars, faCode,
|
||||||
@@ -13,7 +13,6 @@ import '../css/navigation.css'
|
|||||||
import { PopupContext } from './popup/popup'
|
import { PopupContext } from './popup/popup'
|
||||||
import { useSelector } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import { selectProgress } from '../state/progress'
|
import { selectProgress } from '../state/progress'
|
||||||
import ReactCountryFlag from 'react-country-flag'
|
|
||||||
import lean4gameConfig from '../config.json'
|
import lean4gameConfig from '../config.json'
|
||||||
import { Flag } from './flag'
|
import { Flag } from './flag'
|
||||||
|
|
||||||
@@ -211,7 +210,6 @@ function MobileNavigationLevel () {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** The skeleton of the navigation which is the same across all layouts. */
|
/** The skeleton of the navigation which is the same across all layouts. */
|
||||||
export function Navigation () {
|
export function Navigation () {
|
||||||
const { t, i18n } = useTranslation()
|
const { t, i18n } = useTranslation()
|
||||||
|
|||||||
Reference in New Issue
Block a user