fix: use Show instead of hidden in Popup

This commit is contained in:
Shusui MOYATANI
2023-12-16 12:45:33 +09:00
parent c2d10f5cff
commit e06ef4628e
3 changed files with 17 additions and 17 deletions

View File

@@ -85,7 +85,7 @@ const PreviewedLink: Component<PreviewdLinkProps> = (props) => {
return (
<Switch fallback={<SafeLink class={props.class} href={props.href} />}>
<Match when={config().embedding.twitter && isTwitterUrl(props.href)}>
<LazyLoad>{() => <TwitterEmbed class={props.class} href={props.href} />}</LazyLoad>
<TwitterEmbed class={props.class} href={props.href} />
</Match>
<Match when={config().embedding.youtube && parseYouTubeVideoUrl(props.href)} keyed>
{({ videoId }) => (