perf: use a virtual list
This commit is contained in:
1 parent
25b1ab8d8e
commit
58b6c12a8b
5 files changed
+130
-186
No files matched your search
@@ -70,6 +70,7 @@
|
||||
on:click={(e) => {
|
||||
onClick(e)
|
||||
}}
|
||||
style={$$props.style ?? ''}
|
||||
>
|
||||
<PostMeta
|
||||
community={hideCommunity ? undefined : post.community}
|
||||
@@ -108,7 +109,7 @@
|
||||
<PostMediaCompact
|
||||
{view}
|
||||
bind:post={post.post}
|
||||
bind:type={type}
|
||||
bind:type
|
||||
class="{$userSettings.leftAlign
|
||||
? 'mr-2'
|
||||
: 'ml-2'} flex-shrink no-list-margin"
|
||||
|
||||
Reference in new issue
Block a user