From 6ad5d6dfcf10ee93e7f9da28f026b7b0d31eb2e1 Mon Sep 17 00:00:00 2001 From: Azeddine Hamdaoui Date: Fri, 15 Dec 2023 14:30:01 +0100 Subject: [PATCH] fix HttpError import --- frontend/app/(auth)/verify-email/[code]/page.tsx | 2 -- frontend/hooks/use-upload-avatar-mut.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/app/(auth)/verify-email/[code]/page.tsx b/frontend/app/(auth)/verify-email/[code]/page.tsx index 82deafc..887aa09 100644 --- a/frontend/app/(auth)/verify-email/[code]/page.tsx +++ b/frontend/app/(auth)/verify-email/[code]/page.tsx @@ -6,8 +6,6 @@ import { useEffect } from "react"; import { BsXLg } from "react-icons/bs"; import { useMutation } from "@tanstack/react-query"; import { api } from "@/config/axios"; -import { AxiosError } from "axios"; -import { HttpError } from "@/network"; type CodeAuthVerificationProps = { params: { diff --git a/frontend/hooks/use-upload-avatar-mut.tsx b/frontend/hooks/use-upload-avatar-mut.tsx index c273a1e..711071c 100644 --- a/frontend/hooks/use-upload-avatar-mut.tsx +++ b/frontend/hooks/use-upload-avatar-mut.tsx @@ -1,5 +1,5 @@ import { api } from "@/config"; -import { HttpError } from "@/network"; +import { HttpError } from "@/types/http-error"; import { useMutation } from "@tanstack/react-query"; import { AxiosError } from "axios";