mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 06:24:25 +01:00
fix: use Show instead of hidden in Popup
This commit is contained in:
@@ -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 }) => (
|
||||
|
||||
Reference in New Issue
Block a user