From eb6a1f34f790cf67ce4317e2c2434ddd827bc48c Mon Sep 17 00:00:00 2001 From: Max Stoiber Date: Sun, 27 Sep 2020 21:13:50 +0200 Subject: [PATCH] Fix page icons --- src/components/page-icon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/page-icon.tsx b/src/components/page-icon.tsx index 970fd4c..ad32000 100644 --- a/src/components/page-icon.tsx +++ b/src/components/page-icon.tsx @@ -34,7 +34,7 @@ const PageIcon: React.FC = ({ const title = block.value.properties?.title; if (icon?.includes("http")) { - const url = mapImageUrl(icon); + const url = mapImageUrl(icon, block); return (