mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Testing to relocate CSS according to new App dir functionality
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
const Price = ({
|
||||
className,
|
||||
amount,
|
||||
currencyCode,
|
||||
...props
|
||||
}: {
|
||||
amount: string;
|
||||
currencyCode: string | 'SEK' | 'GPB';
|
||||
className?: string;
|
||||
} & React.ComponentProps<'p'>) => (
|
||||
<p suppressHydrationWarning={true} {...props}>
|
||||
<p className={className} suppressHydrationWarning={true} {...props}>
|
||||
|
||||
{`${new Intl.NumberFormat(undefined, {
|
||||
style: 'currency',
|
||||
|
@@ -30,7 +30,7 @@ export default function ProductView({product, relatedProducts }: ProductViewProp
|
||||
hasDots={false}
|
||||
gliderClasses={'lg:px-8 2xl:px-16'}
|
||||
slidesToScroll={1}
|
||||
slidesToShow={1.025}
|
||||
slidesToShow={images.length > 1 ? 1.0125 : 1}
|
||||
responsive={{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
|
Reference in New Issue
Block a user