Skip to content

Commit

Permalink
Merge pull request #35 from mxstbr/fix-page-icons
Browse files Browse the repository at this point in the history
Fix page icons
  • Loading branch information
timolins committed Sep 27, 2020
2 parents 611a373 + eb6a1f3 commit 7b435f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/page-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const PageIcon: React.FC<AssetProps> = ({
const title = block.value.properties?.title;

if (icon?.includes("http")) {
const url = mapImageUrl(icon);
const url = mapImageUrl(icon, block);

return (
<img
Expand Down

0 comments on commit 7b435f7

Please sign in to comment.