From 8bb72c3dd2101146eb4a81fc7a05f8f31a98b5b0 Mon Sep 17 00:00:00 2001 From: Santiago Alvarez Soto <alvarezsoto13@gmail.com> Date: Thu, 25 Jul 2024 10:16:56 -0500 Subject: [PATCH] Update asset.tsx to use always use value.properties.source[0][0] --- src/components/asset.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/asset.tsx b/src/components/asset.tsx index c03cac8..15b5f83 100644 --- a/src/components/asset.tsx +++ b/src/components/asset.tsx @@ -35,7 +35,7 @@ const Asset: React.FC<{ <iframe className="notion-image-inset" src={ - type === "figma" ? value.properties.source[0][0] : display_source + value.properties.source[0][0] } /> </div>