Skip to content

Commit

Permalink
mv quantityinput
Browse files Browse the repository at this point in the history
  • Loading branch information
nlkluth committed Oct 26, 2023
1 parent 20540e4 commit 60348fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/nextjs/pages/products/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { GetServerSideProps, NextPage } from "next";
import { useRouter } from "next/router";
import { AnimatePresence } from "framer-motion";

import { H6, FadeInOut, BlockContent, Price } from "shared-ui";
import { H6, FadeInOut, BlockContent, Price, QuantityInput } from "shared-ui";
import { setCachingHeaders } from "utils/setCachingHeaders";
import { isSlug } from "utils/isSlug";
import { SanityType } from "utils/consts";
Expand All @@ -15,7 +15,6 @@ import { getProductBySlug } from "utils/getProductBySlug";
import { ImageCarousel } from "components/ImageCarousel";
import { useCart } from "components/CartContext";
import { PageHead } from "components/PageHead";
import { QuantityInput } from "components/ProductPage/QuantityInput";
import { StyleOptions } from "components/ProductPage/StyleOptions";
import { ProductVariantSelector } from "components/ProductPage/ProductVariantSelector";
import { Product } from "components/Product";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FiPlus } from "react-icons/fi";
import { Button } from "shared-ui";
import { H6 } from "shared-ui";
import { Input } from "shared-ui";
import { Button } from "./Button/Button";
import { H6 } from "./Typography";
import { Input } from "./Input";

interface Props {
quantity: string;
Expand Down
1 change: 1 addition & 0 deletions packages/shared-ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export * from "./components/LinkText";
export * from "./components/Modal";
export * from "./components/WeDontSellBreadBanner";
export * from "./components/Price";
export * from "./components/QuantityInput";

export * from "./components/sanity";

0 comments on commit 60348fc

Please sign in to comment.