From 35bc80cc902bd4f61cf4fd07140d2c1d74b515a1 Mon Sep 17 00:00:00 2001 From: Nestor Qin Date: Sat, 3 Aug 2024 00:17:24 -0400 Subject: [PATCH] chore: clean unused imports --- app/components/home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index fb92a2b0..f9908a6f 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -6,7 +6,7 @@ import styles from "./home.module.scss"; import log from "loglevel"; import dynamic from "next/dynamic"; -import { useState, useEffect, useRef, useMemo, useCallback } from "react"; +import { useState, useEffect, useRef } from "react"; import { HashRouter as Router, Routes, @@ -18,7 +18,7 @@ import { ServiceWorkerMLCEngine } from "@mlc-ai/web-llm"; import MlcIcon from "../icons/mlc.svg"; import LoadingIcon from "../icons/three-dots.svg"; -import Locale, { changeLang, AllLangs, Lang } from "../locales"; +import Locale from "../locales"; import { getCSSVar, useMobileScreen } from "../utils"; import { DEFAULT_MODELS, Path, SlotID } from "../constant"; import { ErrorBoundary } from "./error";