diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index 5534cebb..8cc1fbcf 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -4,7 +4,7 @@ import { getInstance } from '$lib/lemmy.js' import PostActions from '$lib/components/lemmy/post/PostActions.svelte' import { userSettings } from '$lib/settings.js' - import PostLink from '$lib/components/lemmy/post/PostLink.svelte' + import PostLink from '$lib/components/lemmy/post/link/PostLink.svelte' import PostMeta, { parseTags, type Tag, @@ -172,7 +172,7 @@
diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte index ad7f441c..3e3893f7 100644 --- a/src/lib/components/lemmy/post/PostActions.svelte +++ b/src/lib/components/lemmy/post/PostActions.svelte @@ -71,11 +71,6 @@ let localShare = false - let mediaBias = false - - const stripSubdomain = (url: string) => - new URL(url).hostname.split('.').slice(-2).join('.') - $: buttonHeight = view == 'compact' ? 'h-[30px]' : 'h-8' $: buttonSquare = view == 'compact' ? 'w-[30px] h-[30px]' : 'w-8 h-8' @@ -118,12 +113,6 @@ {/await} {/if} -{#if mediaBias && post.post.url} - {#await import('$lib/components/mbfc/MBFCModal.svelte') then { default: MbfcModal }} -