Skip to content

Commit

Permalink
saving name references on others components
Browse files Browse the repository at this point in the history
  • Loading branch information
romualdo-ah committed Jan 21, 2022
1 parent f2ece59 commit 709aba0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/Product/ProductCardCatalog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';
import Link from 'next/link';
import { productProp } from '../../../interfaces';
import { Product } from '../index';
import { SaveOnCart } from '../SaveOnCart';
import {Share} from '../Share';
import { SaveOnCart } from '../SaveOnCartButton';
import {Share} from '../ShareButton';
import { ProductImage } from '../ProductImage';

export function ProductCard({ product }: productProp) {
Expand Down
2 changes: 1 addition & 1 deletion pages/cart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ImBin2 } from 'react-icons/im';
import { productInterface } from '../interfaces/';
import { useCart } from '../hooks/useCart';

import { BuyContainer } from '../components/Product/BuyContainer';
import { BuyContainer } from '../components/Product/BuyButtonContainer';
import { ProductCardCart } from '../components/Product/ProductCardCart';

export default function Cartpage() {
Expand Down
4 changes: 2 additions & 2 deletions pages/product/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { useCart } from '../../hooks/useCart';

import { Product } from '../../components/Product';
import { AmountControl } from '../../components/Product/AmountControl';
import { BuyContainer } from '../../components/Product/BuyContainer';
import { Share } from '../../components/Product/Share';
import { BuyContainer } from '../../components/Product/BuyButtonContainer';
import { Share } from '../../components/Product/ShareButton';
import { loadFormatedProduct } from '../../utils';
import { ProductImage } from '../../components/Product/ProductImage';

Expand Down

0 comments on commit 709aba0

Please sign in to comment.