refactor: rm PostMediaCompact unused param
This commit is contained in:
1 parent
df0a44b9c2
commit
5f4d3758fd
2 files changed
-2
No files matched your search
@@ -106,7 +106,6 @@
|
|||||||
</div>
|
</div>
|
||||||
{#if view == 'list' || view == 'compact'}
|
{#if view == 'list' || view == 'compact'}
|
||||||
<PostMediaCompact
|
<PostMediaCompact
|
||||||
{view}
|
|
||||||
bind:post={post.post}
|
bind:post={post.post}
|
||||||
bind:type={type}
|
bind:type={type}
|
||||||
class="{$userSettings.leftAlign
|
class="{$userSettings.leftAlign
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
import { Material, Popover } from 'mono-svelte'
|
import { Material, Popover } from 'mono-svelte'
|
||||||
import { DocumentText, Icon, Link, VideoCamera } from 'svelte-hero-icons'
|
import { DocumentText, Icon, Link, VideoCamera } from 'svelte-hero-icons'
|
||||||
|
|
||||||
export let view: 'card' | 'cozy' | 'list' | 'compact' = 'cozy'
|
|
||||||
export let post: Post
|
export let post: Post
|
||||||
export let type: MediaType = 'none'
|
export let type: MediaType = 'none'
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in new issue
Block a user