Lint
This commit is contained in:
parent
87098ac02f
commit
061ee2645f
|
|
@ -8,7 +8,7 @@ declare global {
|
|||
var prisma: undefined | ReturnType<typeof prismaClientSingleton>
|
||||
}
|
||||
|
||||
const db = globalThis.prisma ?? prismaClientSingleton()
|
||||
// const db = globalThis.prisma ?? prismaClientSingleton()
|
||||
|
||||
export default prisma
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import ClientError from "@/core/error/ClientError";
|
||||
import ServerResponseAction from "../types/ServerResponseAction";
|
||||
import { error } from "console";
|
||||
|
||||
/**
|
||||
* A higher-order function that wraps an async function and provides structured error handling.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
import CrudPermissions from "@/modules/dashboard/types/CrudPermissions";
|
||||
import createActionButtons from "@/modules/dashboard/utils/createActionButton";
|
||||
import { Badge, Flex, Tooltip, ActionIcon } from "@mantine/core";
|
||||
import { Badge, Flex } from "@mantine/core";
|
||||
import { createColumnHelper } from "@tanstack/react-table";
|
||||
import Link from "next/link";
|
||||
import { StringifyOptions } from "querystring";
|
||||
import { TbEye, TbPencil, TbTrash } from "react-icons/tb";
|
||||
|
||||
export interface RoleRow {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import cookieConfig from "@/config/cookie";
|
||||
import { NotificationData, notifications } from "@mantine/notifications";
|
||||
|
||||
export type NotificationType = "success" | "error";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user