feat: add voting animations, close #155
This commit is contained in:
1 parent
380fa48ffb
commit
11f5bb10be
4 files changed
+31
-17
No files matched your search
@@ -8,6 +8,7 @@
|
||||
import { fly } from 'svelte/transition'
|
||||
|
||||
export let posts: PostView[]
|
||||
export let community: boolean = false
|
||||
</script>
|
||||
|
||||
<div
|
||||
@@ -40,7 +41,7 @@
|
||||
delay: index < 4 ? index * 100 : 0,
|
||||
}}
|
||||
>
|
||||
<Post view={$userSettings.view} bind:post />
|
||||
<Post hideCommunity={community} view={$userSettings.view} bind:post />
|
||||
</div>
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
Reference in new issue
Block a user