Skip to content

Commit

Permalink
fixed prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
BuyankhuuTsCAl committed Jan 18, 2024
1 parent 39dfa4c commit d06f533
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/app/storefront/StoreFrontNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function StoreFrontNavBar(props: {
<ProductButtons
key={type.count}
value={type.value}
setFiltredProducts={ setFilteredProducts}
setFiltredProducts={setFilteredProducts}
content={type.name}
setIsClickedButton={setIsClickedButton}
IsClickedButton={IsClickedButton}
Expand Down
10 changes: 1 addition & 9 deletions src/app/storefront/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,14 @@

import React, { useEffect, useState } from 'react';
import Storefront from './storefrontItems';
import ProductButtons from './productButtons';

import Footer from '../../components/FooterFolder/Footer';
import {
GlobalStyle,
ButtonsContainer,
NavBarZeroIndex,
ShopAllText,
} from './styles';
import { GlobalStyle, ShopAllText } from './styles';
import { fetchProducts } from '../../api/supabase/queries/product_queries';
import { Product } from '../../schema/schema';

import StoreFrontNavBar from './StoreFrontNavBar';

import { buttons } from './buttonValues';

export default function App() {
const [FilteredProducts, setFilteredProducts] = useState<Product[]>([]);

Expand Down
2 changes: 1 addition & 1 deletion src/components/NavBarFolder/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from 'next/image';
import Link from 'next/link';
import React, { useEffect, useState, FC } from 'react';
import React, { useEffect, useState } from 'react';

import { totalNumberOfItemsInCart } from '../../api/supabase/queries/cart_queries';

Expand Down

0 comments on commit d06f533

Please sign in to comment.