Skip to content

Commit

Permalink
fix: remove conditional hook call
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Dec 6, 2020
1 parent 3f9d573 commit 534746d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/src/SEO/SEO.tsx
Expand Up @@ -37,7 +37,7 @@ export const SEO: FC<SEOProps> = ({ 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
Expand Down

0 comments on commit 534746d

Please sign in to comment.