From 0b4252d1a3f43b3dce687154a5aec579ceb61b90 Mon Sep 17 00:00:00 2001 From: Johnny Date: Mon, 25 Aug 2025 19:52:53 +0800 Subject: [PATCH] chore: fix linter --- web/src/components/Settings/AccessTokenSection.tsx | 1 - web/src/components/Settings/UserSessionsSection.tsx | 1 - web/src/components/Settings/WorkspaceSection.tsx | 2 -- 3 files changed, 4 deletions(-) diff --git a/web/src/components/Settings/AccessTokenSection.tsx b/web/src/components/Settings/AccessTokenSection.tsx index 8954e7060..60c9f0e16 100644 --- a/web/src/components/Settings/AccessTokenSection.tsx +++ b/web/src/components/Settings/AccessTokenSection.tsx @@ -9,7 +9,6 @@ import { useDialog } from "@/hooks/useDialog"; import { UserAccessToken } from "@/types/proto/api/v1/user_service"; import { useTranslate } from "@/utils/i18n"; import CreateAccessTokenDialog from "../CreateAccessTokenDialog"; -import LearnMore from "../LearnMore"; const listAccessTokens = async (parent: string) => { const { accessTokens } = await userServiceClient.listUserAccessTokens({ parent }); diff --git a/web/src/components/Settings/UserSessionsSection.tsx b/web/src/components/Settings/UserSessionsSection.tsx index af085f83d..8e5d00e59 100644 --- a/web/src/components/Settings/UserSessionsSection.tsx +++ b/web/src/components/Settings/UserSessionsSection.tsx @@ -6,7 +6,6 @@ import { userServiceClient } from "@/grpcweb"; import useCurrentUser from "@/hooks/useCurrentUser"; import { UserSession } from "@/types/proto/api/v1/user_service"; import { useTranslate } from "@/utils/i18n"; -import LearnMore from "../LearnMore"; const listUserSessions = async (parent: string) => { const { sessions } = await userServiceClient.listUserSessions({ parent }); diff --git a/web/src/components/Settings/WorkspaceSection.tsx b/web/src/components/Settings/WorkspaceSection.tsx index 4f324dc02..6d0830812 100644 --- a/web/src/components/Settings/WorkspaceSection.tsx +++ b/web/src/components/Settings/WorkspaceSection.tsx @@ -1,9 +1,7 @@ import { isEqual } from "lodash-es"; -import { ExternalLinkIcon } from "lucide-react"; import { observer } from "mobx-react-lite"; import { useEffect, useState } from "react"; import { toast } from "react-hot-toast"; -import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Separator } from "@/components/ui/separator";