From 534746dafd917c541bb34657c6595f1162585633 Mon Sep 17 00:00:00 2001 From: atanasster Date: Sat, 5 Dec 2020 19:45:53 -0500 Subject: [PATCH] fix: remove conditional hook call --- ui/app/src/SEO/SEO.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/src/SEO/SEO.tsx b/ui/app/src/SEO/SEO.tsx index 6dfed5766..7efc0a2c7 100644 --- a/ui/app/src/SEO/SEO.tsx +++ b/ui/app/src/SEO/SEO.tsx @@ -37,7 +37,7 @@ export const SEO: FC = ({ Helmet, doc, config }) => { links = defaultLinks, } = config || {}; const pageImage = doc?.image || image; - const isLocalImage = pageImage && useIsLocalLink(pageImage); + const isLocalImage = useIsLocalLink(pageImage); const theme = useTheme(); const imageUrl = isLocalImage && pageImage