Skip to content

Commit

Permalink
Merge pull request #12 from azeddine-hmd/dev
Browse files Browse the repository at this point in the history
fixing HttpError class import path
  • Loading branch information
azeddine-hmd authored Dec 15, 2023
2 parents c0ad464 + f3c963a commit 8690cbf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/app/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as Yup from "yup";
import { useMutation } from "@tanstack/react-query";
import { api } from "@/config";
import { AxiosError } from "axios";
import { HttpError } from "@/network";
import { HttpError } from "@/types/http-error";

type LoginForm = {
email: string;
Expand Down
1 change: 0 additions & 1 deletion frontend/app/(auth)/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import React, { MouseEvent, useState } from "react";
import * as Yup from "yup";
import AvatarSelection from "@/components/organisms/avatar-selection";
import { useRegistrationMut } from "@/hooks/use-registration-mut";
import { HttpError } from "@/network";
import { DAYS, MONTHS, YEARS } from "@/lib/constants";

export type RegisterForm = {
Expand Down
2 changes: 1 addition & 1 deletion frontend/hooks/use-registration-mut.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useMutation } from "@tanstack/react-query";
import { api } from "@/config/axios";
import { RegisterForm } from "@/app/(auth)/register/page";
import { HttpError } from "@/network";
import { MONTHS } from "@/lib/constants";
import { AxiosError } from "axios";
import { HttpError } from "@/types/http-error";

export type RegisterDto = {
displayName: string;
Expand Down

0 comments on commit 8690cbf

Please sign in to comment.