Skip to content

Commit

Permalink
chore: corrected a misspelled file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Franqsanz committed May 20, 2024
1 parent a3c75fa commit a897799
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/AllBooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { useInView } from 'react-intersection-observer';

import { CardType } from '@components/types';
import { useBooksPaginate } from '@hooks/querys';
import { useBooksPaginate } from '@hooks/queries';
import { MySimpleGrid } from '@components/MySimpleGrid';
import { Card } from '@components/cards/Card';
import { Aside } from '@components/Aside';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from '@chakra-ui/react';
import { BsTag } from 'react-icons/bs';

import { MyTag } from '@components/MyTag';
import { useAllFilterOptions } from '@hooks/querys';
import { useAllFilterOptions } from '@hooks/queries';

export default function Categories() {
const { data } = useAllFilterOptions();
Expand Down
2 changes: 1 addition & 1 deletion src/components/MostViewed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { NavLink } from 'react-router-dom';
import { Box, Flex, Link } from '@chakra-ui/react';

import { useMostViewedBooks } from '@hooks/querys';
import { useMostViewedBooks } from '@hooks/queries';

export function MostViewed() {
const { data } = useMostViewedBooks('summary');
Expand Down
2 changes: 1 addition & 1 deletion src/components/cards/MoreBooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { RelatedCard } from '@components/cards/RelatedCard';
import { ContainerRCard } from '@components/cards/ContainerRCard';
import { CardType, RelatedBooksType } from '@components/types';
import { useMoreBooks } from '@hooks/querys';
import { useMoreBooks } from '@hooks/queries';
import { useRefetchLocation } from '@hooks/useRefetchLocation';

export default function MoreBooks({ currentBookId }: RelatedBooksType) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/cards/MoreBooksAuthors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Box, Text } from '@chakra-ui/react';
import { RelatedCard } from '@components/cards/RelatedCard';
import { ContainerRCard } from '@components/cards/ContainerRCard';
import { CardType, RelatedBooksType } from '@components/types';
import { useMoreBooksAuthors } from '@hooks/querys';
import { useMoreBooksAuthors } from '@hooks/queries';
import { useRefetchLocation } from '@hooks/useRefetchLocation';

export default function MoreBooksAuthors({
Expand Down
2 changes: 1 addition & 1 deletion src/components/cards/RelatedBooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Box, Text } from '@chakra-ui/react';
import { RelatedCard } from '@components/cards/RelatedCard';
import { ContainerRCard } from '@components/cards/ContainerRCard';
import { CardType, RelatedBooksType } from '@components/types';
import { useRelatedBooks } from '@hooks/querys';
import { useRelatedBooks } from '@hooks/queries';
import { useRefetchLocation } from '@hooks/useRefetchLocation';

export default function RelatedBooks({ currentBookId, id }: RelatedBooksType) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/FormCreateUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
useColorModeValue,
} from '@chakra-ui/react';

import { useUserRegister } from '@hooks/querys';
import { useUserRegister } from '@hooks/queries';

export function FormCreateUser() {
const [username, setUsername] = useState<string>('');
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/FormEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { IoWarningSharp } from 'react-icons/io5';

import { categories, formats, languages } from '../../data/links';
import { BookType, MyChangeEvent } from '@components/types';
import { useUpdateBook } from '@hooks/querys';
import { useUpdateBook } from '@hooks/queries';
import { ModalCropper } from '@components/modals/ModalCropper';
import { sortArrayByLabel } from '@utils/utils';
import { MyPopover } from '@components/MyPopover';
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 @@ -25,7 +25,7 @@ import { IoWarningSharp } from 'react-icons/io5';

import { categories, formats, languages } from '../../data/links';
import { BookType, MyChangeEvent } from '@components/types';
import { useMutatePost, useCheckUser } from '@hooks/querys';
import { useMutatePost, useCheckUser } from '@hooks/queries';
import { ModalCropper } from '@components/modals/ModalCropper';
import { sortArrayByLabel } from '@utils/utils';
import { useGenerateSlug } from '@hooks/useGenerateSlug';
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/filters/Filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@chakra-ui/react';
import { FiSearch } from 'react-icons/fi';

import { useAllFilterOptions } from '@hooks/querys';
import { useAllFilterOptions } from '@hooks/queries';
import { SelectType } from '@components/types';

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/filters/InputSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import { CgOptions } from 'react-icons/cg';
import { FiSearch } from 'react-icons/fi';

import { useAllSearchBooks } from '@hooks/querys';
import { useAllSearchBooks } from '@hooks/queries';
import { useDebounce } from '@hooks/useDebounce';
import { BookSearchResultsType } from '@components/types';

Expand Down
2 changes: 1 addition & 1 deletion src/components/nav/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { MenuProfile } from '@components/nav/menu/MenuProfile';
import { InputSearch } from '@components/forms/filters/InputSearch';
import { ModalFilter } from '@components/modals/ModalFilter';
import { useAuth } from '@contexts/AuthContext';
import { useUserData } from '@hooks/querys';
import { useUserData } from '@hooks/queries';

export function DesktopNav() {
const { currentUser } = useAuth();
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 @@ -29,7 +29,7 @@ import { InputSearch } from '@components/forms/filters/InputSearch';
import { ModalFilter } from '@components/modals/ModalFilter';
import { MenuProfile } from '@components/nav/menu/MenuProfile';
import { useAuth } from '@contexts/AuthContext';
import { useUserData } from '@hooks/querys';
import { useUserData } from '@hooks/queries';

export function MobileNav() {
const { currentUser } = useAuth();
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/pages/Book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { BsTag } from 'react-icons/bs';
import { FaCheckCircle } from 'react-icons/fa';
import LazyLoad from 'react-lazy-load';

import { useBook, useDeleteBook } from '@hooks/querys';
import { useBook, useDeleteBook } from '@hooks/queries';
import { handleImageLoad } from '@utils/utils';
import { MainHead } from '@components/Head';
import { MyTag } from '@components/MyTag';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
ImgBook,
BookReading,
} from '@assets/assets';
import { useUserData } from '@hooks/querys';
import { useUserData } from '@hooks/queries';

export function Home() {
const { colorMode } = useColorMode();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MostViewed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ContainerTitle } from '@components/ContainerTitle';
import { MySimpleGrid } from '@components/MySimpleGrid';
import { Card } from '@components/cards/Card';
import { CardType } from '@components/types';
import { useMostViewedBooks } from '@hooks/querys';
import { useMostViewedBooks } from '@hooks/queries';
import { MySliderCategories } from '@components/MySliderCategories';

export default function MostViewed() {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {

import { Card } from '@components/cards/Card';
import { CardType, LanguageAndYearType } from '@components/types';
import { useFilter } from '@hooks/querys';
import { useFilter } from '@hooks/queries';
import { ContainerTitle } from '@components/ContainerTitle';
import { MySimpleGrid } from '@components/MySimpleGrid';
import { MainHead } from '@components/Head';
Expand Down

0 comments on commit a897799

Please sign in to comment.