Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
BuyankhuuTsCAl committed Apr 15, 2024
1 parent 4cc9f11 commit c8a7a0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/api/supabase/queries/cart_queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import supabase from '../createClient';
import { fetchUser } from './user_queries';
import { Product, ProductWithQuantity } from '../../../schema/schema';
import { fetchProductByID } from './product_queries';
import {convertButtonNumbertoCategory} from "./button_queries";
import { convertButtonNumbertoCategory } from './button_queries';
// define cart item type
export type CartItem = {
id: number;
Expand Down Expand Up @@ -203,7 +203,6 @@ export async function fetchCartItemsWithQuantity(): Promise<
category: await convertButtonNumbertoCategory(product.category),
};
});


const fetchedProducts = await Promise.all(productPromises);
console.log(fetchedProducts);
Expand Down
4 changes: 0 additions & 4 deletions src/app/orderConfirmationPickUp/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const FavoriteDiv = styled.div`
margin-bottom: 50px;
margin-top: 30px;
margin-right: 20px;
`;

export const OutterFavoriteDiv = styled.div`
Expand Down Expand Up @@ -109,7 +108,6 @@ export const NavBarMovedUP = styled(NavBar)`

export const Label = styled.p`
margin-top: 20px;
`;

export const LabelBox1 = styled.div`
Expand All @@ -124,7 +122,6 @@ export const LabelBox = styled.div`
padding: 20px;
gap: 50px;
margin-right: 30px;
`;

export const HeaderText = styled.h3`
Expand Down Expand Up @@ -257,7 +254,6 @@ export const WhiteBackgroundDiv = styled.div`
box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.1);
`;


export const BottomColumnDiv = styled.div`
display: flex;
flex-direction: row;
Expand Down

0 comments on commit c8a7a0f

Please sign in to comment.