Skip to content

Commit

Permalink
chore: the modals folder was created to organize the files better
Browse files Browse the repository at this point in the history
  • Loading branch information
Franqsanz committed Jan 31, 2024
1 parent 8cd6d39 commit 71ea4bb
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/forms/FormEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { IoWarningSharp } from 'react-icons/io5';
import { categories, formats, languages } from '../../data/links';
import { BookType } from '@components/types';
import { useUpdateBook } from '@hooks/querys';
import { ModalCropper } from '@components/forms/ModalCropper';
import { ModalCropper } from '@components/modals/ModalCropper';
import { generatePathUrl, sortArrayByLabel } from '@utils/utils';
import { MyPopover } from '@components/MyPopover';
import { useMyToast } from '@hooks/useMyToast';
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/NewBook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { BiImageAdd } from 'react-icons/bi';
import { categories, formats, languages } from '../../data/links';
import { BookType } from '@components/types';
import { useMutatePost } from '@hooks/querys';
import { ModalCropper } from '@components/forms/ModalCropper';
import { ModalCropper } from '@components/modals/ModalCropper';
import { generatePathUrl, sortArrayByLabel } from '@utils/utils';
import { MyPopover } from '@components/MyPopover';
import { useAuth } from '@contexts/AuthContext';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/nav/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { navLink, accountLinks } from '../../data/links';
import { MenuProfile } from '@components/nav/menu/MenuProfile';
import { InputSearch } from '@components/forms/filters/InputSearch';
import { ModalFilter } from '@components/forms/filters/ModalFilter';
import { ModalFilter } from '@components/modals/ModalFilter';
import { useAuth } from '@contexts/AuthContext';

export function DesktopNav() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {

import { navLink, accountLinks } from '../../data/links';
import { InputSearch } from '@components/forms/filters/InputSearch';
import { ModalFilter } from '@components/forms/filters/ModalFilter';
import { ModalFilter } from '@components/modals/ModalFilter';
import { MenuProfile } from '@components/nav/menu/MenuProfile';
import { useAuth } from '@contexts/AuthContext';

Expand Down
10 changes: 5 additions & 5 deletions src/pages/Book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ import { useBook, useDeleteBook } from '@hooks/querys';
import { handleImageLoad } from '@utils/utils';
import { MainHead } from '@components/Head';
import { MyTag } from '@components/MyTag';
import { ModalShare } from '@components/ModalShare';
import { ModalShare } from '@components/modals/ModalShare';
import { MyLink } from '@components/MyLink';
import { BooksSection } from '@components/BooksSection';
import { ImageZoom } from '@components/ImageZoom';
import { ModalOptions } from '@components/ModalOptions';
import { ModalConfirmation } from '@components/ModalConfirmation';
import { ModalForm } from '@components/ModalForm';
import { ModalOptions } from '@components/modals/ModalOptions';
import { ModalConfirmation } from '@components/modals/ModalConfirmation';
import { ModalForm } from '@components/modals/ModalForm';
import { useAuth } from '@contexts/AuthContext';

const Categories = lazy(() => import('@components/Categories'));
Expand Down Expand Up @@ -102,7 +102,7 @@ export default function Book() {
toast({
title: 'Libro eliminado',
description: 'Se ha eliminado exitosamente.',
position: 'top-right',
position: 'bottom-right',
isClosable: true,
containerStyle: {
fontFamily: 'sans-serif',
Expand Down

0 comments on commit 71ea4bb

Please sign in to comment.