mirror of https://github.com/usememos/memos.git
chore: fix linter
This commit is contained in:
parent
cf29684882
commit
0b4252d1a3
|
|
@ -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 });
|
||||
|
|
|
|||
|
|
@ -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 });
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue