diff --git a/webapp/src/components/navigation/LanguageMenu.tsx b/webapp/src/components/navigation/LanguageMenu.tsx index 7d4652f..6c13347 100644 --- a/webapp/src/components/navigation/LanguageMenu.tsx +++ b/webapp/src/components/navigation/LanguageMenu.tsx @@ -2,12 +2,6 @@ import React, {useState} from 'react'; import {Dropdown} from 'react-bootstrap'; import {initReactI18next, useTranslation} from 'react-i18next'; import i18n from '../../i18n'; -import UKFlag from "../../img/flags/UKFlag.png"; -import SpainFlag from "../../img/flags/SpainFlag.png"; -import FranceFlag from "../../img/flags/FranceFlag.png"; -import GermanyFlag from "../../img/flags/GermanyFlag.png"; -import ChinaFlag from "../../img/flags/ChinaFlag.png"; -import AsturiasFlag from "../../img/flags/AsturiasFlag.png"; i18n.use(initReactI18next) @@ -31,37 +25,31 @@ function LanguageMenu() {
void handleLanguageChange('en')}> - Flag of UK {t("english")}
void handleLanguageChange('es')}> - Flag of Spain {t("spanish")}
void handleLanguageChange('fr')}> - Flag of France {t("french")}
void handleLanguageChange('deu')}> - Flag of Germany {t("german")}
void handleLanguageChange('chn')}> - Flag of China {t("chinese")}
void handleLanguageChange('ast')}> - Flag of Asturias {t("asturian")} diff --git a/webapp/src/img/flags/AsturiasFlag.png b/webapp/src/img/flags/AsturiasFlag.png deleted file mode 100644 index fa35a2c..0000000 Binary files a/webapp/src/img/flags/AsturiasFlag.png and /dev/null differ diff --git a/webapp/src/img/flags/ChinaFlag.png b/webapp/src/img/flags/ChinaFlag.png deleted file mode 100644 index 3e5a7cd..0000000 Binary files a/webapp/src/img/flags/ChinaFlag.png and /dev/null differ diff --git a/webapp/src/img/flags/FranceFlag.png b/webapp/src/img/flags/FranceFlag.png deleted file mode 100644 index e62a904..0000000 Binary files a/webapp/src/img/flags/FranceFlag.png and /dev/null differ diff --git a/webapp/src/img/flags/GermanyFlag.png b/webapp/src/img/flags/GermanyFlag.png deleted file mode 100644 index 2dfaca2..0000000 Binary files a/webapp/src/img/flags/GermanyFlag.png and /dev/null differ diff --git a/webapp/src/img/flags/SpainFlag.png b/webapp/src/img/flags/SpainFlag.png deleted file mode 100644 index e424ced..0000000 Binary files a/webapp/src/img/flags/SpainFlag.png and /dev/null differ diff --git a/webapp/src/img/flags/UKFlag.png b/webapp/src/img/flags/UKFlag.png deleted file mode 100644 index 9670356..0000000 Binary files a/webapp/src/img/flags/UKFlag.png and /dev/null differ