From 737b4ceaee3e88f33c51ac643d4d6f779a79173b Mon Sep 17 00:00:00 2001 From: Cameron Otsuka Date: Fri, 10 Apr 2026 18:17:31 -0700 Subject: [PATCH] fix layout type --- src/components/ui/figure.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/figure.astro b/src/components/ui/figure.astro index 7b7813f..0ed2c07 100644 --- a/src/components/ui/figure.astro +++ b/src/components/ui/figure.astro @@ -1,12 +1,12 @@ --- import { Picture } from 'astro:assets'; -import type { ImageMetadata } from 'astro'; +import type { ImageLayout, ImageMetadata } from 'astro'; interface Props { image: ImageMetadata; alt: string; formats?: string[]; - layout?: string; + layout?: ImageLayout; } const { image, alt, formats = ['avif', 'webp'], layout } = Astro.props; -- 2.53.0