mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-01-23 00:06:08 +01:00
Fixed warnings
This commit is contained in:
parent
0d2d1726f8
commit
c404754e26
@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next';
|
|||||||
import { BsGlobe2 } from 'react-icons/bs';
|
import { BsGlobe2 } from 'react-icons/bs';
|
||||||
|
|
||||||
function generateSublist() {
|
function generateSublist() {
|
||||||
const { t, i18n } = useTranslation();
|
const { i18n } = useTranslation();
|
||||||
const out: JSX.Element[] = [];
|
const out: JSX.Element[] = [];
|
||||||
const languages = i18n.options.resources;
|
const languages = i18n.options.resources;
|
||||||
for (var key in languages) {
|
for (var key in languages) {
|
||||||
|
@ -71,7 +71,7 @@ function convertToNavDropdown(sublist: NavInfoSublist) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function NavBar() {
|
function NavBar() {
|
||||||
const { t, i18n } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const navInfo = [
|
const navInfo = [
|
||||||
{displayText: t('multiTool.title'), icon: BsTools, dest: "/home", tooltip: t('home.multiTool.desc')},
|
{displayText: t('multiTool.title'), icon: BsTools, dest: "/home", tooltip: t('home.multiTool.desc')},
|
||||||
|
Loading…
Reference in New Issue
Block a user