From 338da62f4bfa8c8430e273390e83262bb1daa45b Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Sat, 23 Jul 2022 01:00:21 +0200 Subject: [PATCH] pass title --- .../features/sidebar-left/panels/components/image.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx index 5de635b6f2..615067feb5 100644 --- a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx +++ b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx @@ -27,10 +27,15 @@ const useImageWithFallbaack = ({ path }: { path: string }) => { }; }; -export const AssetManagerImage = ({ asset: { path } }: { asset: Asset }) => { +export const AssetManagerImage = ({ + asset: { path, alt }, +}: { + asset: Asset; +}) => { const { imageSrc } = useImageWithFallbaack({ path }); return (