Add eslint rule and fix as many issues as possible

This commit is contained in:
Khoa Le
2023-06-19 23:42:04 -04:00
parent e9eacc445d
commit 9d33e4756b
689 changed files with 9446 additions and 21821 deletions
+1 -1
View File
@@ -1 +1 @@
export { useGetUserWsKey, useUploadWsKey } from './queries';
export { useGetUserWsKey, useUploadWsKey } from "./queries";
+4 -4
View File
@@ -1,11 +1,11 @@
import { useMutation, useQuery } from '@tanstack/react-query';
import { useMutation, useQuery } from "@tanstack/react-query";
import { apiRequest } from '@app/config/request';
import { apiRequest } from "@app/config/request";
import { UploadWsKeyDTO, UserWsKeyPair } from './types';
import { UploadWsKeyDTO, UserWsKeyPair } from "./types";
const encKeyKeys = {
getUserWorkspaceKey: (workspaceID: string) => ['workspace-key-pair', { workspaceID }] as const
getUserWorkspaceKey: (workspaceID: string) => ["workspace-key-pair", { workspaceID }] as const
};
const fetchUserWsKey = async (workspaceID: string) => {