fix: linting

This commit is contained in:
Matilda Landström
2024-05-20 16:44:41 +02:00
parent f048e96e02
commit c24f9026f7
3 changed files with 4 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
import { myPages } from "@/constants/routes/myPages"
import { serverClient } from "@/lib/trpc/server" import { serverClient } from "@/lib/trpc/server"
import MaxWidth from "@/components/MaxWidth" import MaxWidth from "@/components/MaxWidth"

View File

@@ -3,11 +3,7 @@ import {
GetMyPagesBreadcrumbsRefs, GetMyPagesBreadcrumbsRefs,
} from "@/lib/graphql/Query/BreadcrumbsMyPages.graphql" } from "@/lib/graphql/Query/BreadcrumbsMyPages.graphql"
import { request } from "@/lib/graphql/request" import { request } from "@/lib/graphql/request"
import { import { internalServerError, notFound } from "@/server/errors/trpc"
badRequestError,
internalServerError,
notFound,
} from "@/server/errors/trpc"
import { contentstackProcedure, router } from "@/server/trpc" import { contentstackProcedure, router } from "@/server/trpc"
import { import {

View File

@@ -1,7 +1,8 @@
import { Lang } from "@/constants/languages" import { Lang } from "@/constants/languages"
import type { System } from "../system"
import type { AllRequestResponse } from "../utils/all" import type { AllRequestResponse } from "../utils/all"
import type { Edges } from "../utils/edges" import type { Edges } from "../utils/edges"
import type { System } from "../system"
interface AccountPageBreadcrumbs { interface AccountPageBreadcrumbs {
breadcrumbs: { breadcrumbs: {
@@ -36,7 +37,7 @@ interface AccountPageBreadcrumbRefs extends System {
} }
interface AllAccountPageRefsResponse interface AllAccountPageRefsResponse
extends AllRequestResponse<AccountPageBreadcrumbRefs> { } extends AllRequestResponse<AccountPageBreadcrumbRefs> {}
export interface GetMyPagesBreadcrumbsRefsData { export interface GetMyPagesBreadcrumbsRefsData {
all_account_page: AllAccountPageRefsResponse all_account_page: AllAccountPageRefsResponse