🎨 Format imports (#1140)

This commit is contained in:
Alejandra
2024-03-28 21:15:11 -05:00
committed by GitHub
parent cbd464cce5
commit 33fe25e332
8 changed files with 15 additions and 15 deletions

View File

@@ -14,10 +14,10 @@ import {
ModalHeader,
ModalOverlay,
} from "@chakra-ui/react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import { UsersService, type UserCreate } from "../../client"
import { type UserCreate, UsersService } from "../../client"
import type { ApiError } from "../../client/core/ApiError"
import useCustomToast from "../../hooks/useCustomToast"
import { emailPattern } from "../../utils"

View File

@@ -14,14 +14,14 @@ import {
ModalHeader,
ModalOverlay,
} from "@chakra-ui/react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import {
UsersService,
type ApiError,
type UserOut,
type UserUpdate,
UsersService,
} from "../../client"
import useCustomToast from "../../hooks/useCustomToast"
import { emailPattern } from "../../utils"

View File

@@ -12,10 +12,10 @@ import {
ModalHeader,
ModalOverlay,
} from "@chakra-ui/react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import { ItemsService, type ApiError, type ItemCreate } from "../../client"
import { type ApiError, type ItemCreate, ItemsService } from "../../client"
import useCustomToast from "../../hooks/useCustomToast"
interface AddItemProps {

View File

@@ -12,14 +12,14 @@ import {
ModalHeader,
ModalOverlay,
} from "@chakra-ui/react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import {
ItemsService,
type ApiError,
type ItemOut,
type ItemUpdate,
ItemsService,
} from "../../client"
import useCustomToast from "../../hooks/useCustomToast"

View File

@@ -9,10 +9,10 @@ import {
Input,
useColorModeValue,
} from "@chakra-ui/react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation } from "react-query"
import { UsersService, type ApiError, type UpdatePassword } from "../../client"
import { type ApiError, type UpdatePassword, UsersService } from "../../client"
import useCustomToast from "../../hooks/useCustomToast"
interface UpdatePasswordForm extends UpdatePassword {

View File

@@ -11,7 +11,7 @@ import React from "react"
import { useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import { UsersService, type ApiError, type UserOut } from "../../client"
import { type ApiError, type UserOut, UsersService } from "../../client"
import useAuth from "../../hooks/useAuth"
import useCustomToast from "../../hooks/useCustomToast"

View File

@@ -12,14 +12,14 @@ import {
useColorModeValue,
} from "@chakra-ui/react"
import { useState } from "react"
import { useForm, type SubmitHandler } from "react-hook-form"
import { type SubmitHandler, useForm } from "react-hook-form"
import { useMutation, useQueryClient } from "react-query"
import {
UsersService,
type ApiError,
type UserOut,
type UserUpdateMe,
UsersService,
} from "../../client"
import useAuth from "../../hooks/useAuth"
import useCustomToast from "../../hooks/useCustomToast"