Skip to content

Commit

Permalink
Reverted file name changes to fix issue with Vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural committed Sep 11, 2024
1 parent b3f759d commit ed2134d
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/(routes)/checkout/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {useEffect, useMemo, useState} from 'react';
import {selectCartItems} from '@/app/lib/store/reducers/cart/cartReducer';
import {useAppSelector} from '@/app/lib/store/storeHooks';
import {CheckoutCartItems} from '@/app/components/cart/CheckoutCartItems';
import {CheckoutCartItems} from '@/app/components/cart/checkoutCartItems';
import {Raleway} from 'next/font/google';
import {useGetProductsQuery} from '@/app/lib/api/products-api-slice';
import {Product, User} from '@/app/types/backend-types';
Expand Down
2 changes: 1 addition & 1 deletion app/components/cart/CartIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import classNames from 'classnames';
import {ShoppingBagIcon} from 'lucide-react';
import {FC, useState} from 'react';
import {CartWindow} from './CartWindow';
import {CartWindow} from './cartWindow';

type CartIconProps = {
className?: string;
Expand Down
2 changes: 1 addition & 1 deletion app/components/cart/CartWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {useGetProductsQuery} from '@/app/lib/api/products-api-slice';
import Image from 'next/image';
import {useMemo} from 'react';
import {LoadingSpinner} from '../ui/loading-spinner';
import MutateCartButton from './MutateCartButton';
import MutateCartButton from './mutateCartButton';
import Link from 'next/link';
import {useAppSelector} from '@/app/lib/store/storeHooks';
import {selectCartItems} from '@/app/lib/store/reducers/cart/cartReducer';
Expand Down
4 changes: 2 additions & 2 deletions app/components/cart/StatefulCartButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import {CartItem, Product} from '@/app/types/backend-types';
import {FC, useEffect, useMemo, useState} from 'react';
import {MutateCartButton} from './MutateCartButton';
import {AddToCartButton} from './AddToCartButton';
import {MutateCartButton} from './mutateCartButton';
import {AddToCartButton} from './addToCartButton';
import {useAppSelector} from '@/app/lib/store/storeHooks';
import {selectCartItems} from '@/app/lib/store/reducers/cart/cartReducer';

Expand Down
4 changes: 2 additions & 2 deletions app/components/cart/UserCartButton.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';
import {CartItem, Product} from '@/app/types/backend-types';
import {FC, useMemo} from 'react';
import {MutateCartButton} from './MutateCartButton';
import {AddToCartButton} from './AddToCartButton';
import {MutateCartButton} from './mutateCartButton';
import {AddToCartButton} from './addToCartButton';
import {useGetCartItemsQuery} from '@/app/lib/api/cart-items-slice';

type UserCartButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion app/components/cart/cartIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import classNames from 'classnames';
import {ShoppingBagIcon} from 'lucide-react';
import {FC, useState} from 'react';
import {CartWindow} from './CartWindow';
import {CartWindow} from './cartWindow';

type CartIconProps = {
className?: string;
Expand Down
2 changes: 1 addition & 1 deletion app/components/cart/cartWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {useGetProductsQuery} from '@/app/lib/api/products-api-slice';
import Image from 'next/image';
import {useMemo} from 'react';
import {LoadingSpinner} from '../ui/loading-spinner';
import MutateCartButton from './MutateCartButton';
import MutateCartButton from './mutateCartButton';
import Link from 'next/link';
import {useAppSelector} from '@/app/lib/store/storeHooks';
import {selectCartItems} from '@/app/lib/store/reducers/cart/cartReducer';
Expand Down
4 changes: 2 additions & 2 deletions app/components/cart/userCartButton.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';
import {CartItem, Product} from '@/app/types/backend-types';
import {FC, useMemo} from 'react';
import {MutateCartButton} from './MutateCartButton';
import {AddToCartButton} from './AddToCartButton';
import {MutateCartButton} from './mutateCartButton';
import {AddToCartButton} from './addToCartButton';
import {useGetCartItemsQuery} from '@/app/lib/api/cart-items-slice';

type UserCartButtonProps = {
Expand Down
2 changes: 1 addition & 1 deletion app/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Great_Vibes} from 'next/font/google';
import NavMenu from './nav/nav-menu';
import Link from 'next/link';
import {Breadcrumb} from './breadcrumb/breadcrumb';
import CartIcon from '../cart/CartIcon';
import CartIcon from '../cart/cartIcon';
import SignInSignUpButtons from '../auth/sigInSignUpButtons';

const greatVibes = Great_Vibes({weight: '400', subsets: ['latin']});
Expand Down
2 changes: 1 addition & 1 deletion app/components/products/productCheckoutPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Image from 'next/image';
import {FC} from 'react';
import Link from 'next/link';
import classNames from 'classnames';
import CartButton from '../cart/CartButton';
import CartButton from '../cart/cartButton';

type ProductPreviewProps = {
product: Product;
Expand Down
2 changes: 1 addition & 1 deletion app/components/products/productPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Image from 'next/image';
import {FC} from 'react';
import Link from 'next/link';
import classNames from 'classnames';
import CartButton from '../cart/CartButton';
import CartButton from '../cart/cartButton';

type ProductStyleConfig = {
nameClassName?: string;
Expand Down
2 changes: 1 addition & 1 deletion app/components/products/productTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Image from 'next/image';
import Link from 'next/link';
import classNames from 'classnames';
import {Product} from '@/app/types/backend-types';
import CartButton from '../cart/CartButton';
import CartButton from '../cart/cartButton';

type ProductTileProps = {
product: Product;
Expand Down

0 comments on commit ed2134d

Please sign in to comment.