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>
|
||||
{#if view == 'list' || view == 'compact'}
|
||||
<PostMediaCompact
|
||||
{view}
|
||||
bind:post={post.post}
|
||||
bind:type={type}
|
||||
class="{$userSettings.leftAlign
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
import { Material, Popover } from 'mono-svelte'
|
||||
import { DocumentText, Icon, Link, VideoCamera } from 'svelte-hero-icons'
|
||||
|
||||
export let view: 'card' | 'cozy' | 'list' | 'compact' = 'cozy'
|
||||
export let post: Post
|
||||
export let type: MediaType = 'none'
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user