mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
Fallback
This commit is contained in:
parent
54d4fa1692
commit
ac10d46bb1
@ -82,7 +82,11 @@ export default async function ProductPage({ params }: { params: { handle: string
|
|||||||
<div className="mx-auto max-w-screen-2xl px-4">
|
<div className="mx-auto max-w-screen-2xl px-4">
|
||||||
<div className="flex flex-col rounded-lg border border-neutral-200 bg-white p-8 dark:border-neutral-800 dark:bg-black md:p-12 lg:flex-row lg:gap-8">
|
<div className="flex flex-col rounded-lg border border-neutral-200 bg-white p-8 dark:border-neutral-800 dark:bg-black md:p-12 lg:flex-row lg:gap-8">
|
||||||
<div className="h-full w-full basis-full lg:basis-4/6">
|
<div className="h-full w-full basis-full lg:basis-4/6">
|
||||||
<Suspense fallback={null}>
|
<Suspense
|
||||||
|
fallback={
|
||||||
|
<div className="relative aspect-square h-full max-h-[550px] w-full overflow-hidden" />
|
||||||
|
}
|
||||||
|
>
|
||||||
<Gallery
|
<Gallery
|
||||||
images={product.images.map((image: Image) => ({
|
images={product.images.map((image: Image) => ({
|
||||||
src: image.url,
|
src: image.url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user