Fix lint issues

This commit is contained in:
Tuan Dang
2025-02-18 18:42:39 -08:00
parent 823bf134dd
commit 012f265363
8 changed files with 54 additions and 54 deletions
+2 -2
View File
@@ -3,6 +3,7 @@ import { AxiosError } from "axios";
import { apiRequest } from "@app/config/request";
import { SessionStorageKeys } from "@app/const";
import { queryClient as qc } from "@app/hooks/api/reactQuery";
import { APIKeyDataV2 } from "../apiKeys/types";
import { MfaMethod } from "../auth/types";
@@ -24,7 +25,6 @@ import {
User,
UserEnc
} from "./types";
import { queryClient } from "@app/hooks/api/reactQuery";
export const fetchUserDetails = async () => {
const { data } = await apiRequest.get<{ user: User & UserEnc }>("/api/v1/user");
@@ -297,7 +297,7 @@ export const clearSession = (keepQueryClient?: boolean) => {
sessionStorage.removeItem(SessionStorageKeys.CLI_TERMINAL_TOKEN);
if (!keepQueryClient) {
queryClient.clear(); // Clear React Query cache
qc.clear(); // Clear React Query cache
}
};