diff --git a/web/src/features/settings/components/locale.tsx b/web/src/features/settings/components/locale.tsx index 3f4eca6ab..dfa58c7a2 100644 --- a/web/src/features/settings/components/locale.tsx +++ b/web/src/features/settings/components/locale.tsx @@ -1,6 +1,4 @@ import { HStack, Text, Select, Spacer } from "@chakra-ui/react"; -import { useEffect, useState } from "react"; -import { useNuiEvent } from "../../../hooks/useNuiEvent"; import { useLocales } from "../../../providers/LocaleProvider"; import { fetchNui } from "../../../utils/fetchNui"; diff --git a/web/src/features/settings/index.tsx b/web/src/features/settings/index.tsx index ab04d8d26..419995a0f 100644 --- a/web/src/features/settings/index.tsx +++ b/web/src/features/settings/index.tsx @@ -2,7 +2,6 @@ import { Button, Modal, ModalBody, - ModalCloseButton, ModalContent, ModalFooter, ModalHeader, @@ -10,7 +9,7 @@ import { useDisclosure, } from "@chakra-ui/react"; import LocaleSetting from "./components/locale"; -import { useEffect, useState } from "react"; +import { useState } from "react"; import { useNuiEvent } from "../../hooks/useNuiEvent"; import { debugData } from "../../utils/debugData"; import { fetchNui } from "../../utils/fetchNui"; diff --git a/web/src/providers/LocaleProvider.tsx b/web/src/providers/LocaleProvider.tsx index 4637666a8..afb870673 100644 --- a/web/src/providers/LocaleProvider.tsx +++ b/web/src/providers/LocaleProvider.tsx @@ -1,4 +1,4 @@ -import { Context, createContext, useContext, useEffect, useState } from "react"; +import { Context, createContext, useContext, useState } from "react"; import { useNuiEvent } from "../hooks/useNuiEvent"; import { debugData } from "../utils/debugData";