Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Jun 16, 2024
1 parent 89a7252 commit e5ce0ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions frontend/src/views/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,13 @@ fetchMore();
<div class="posts">
<div v-for="post in posts" :key="post.id">
<router-link :to="`/posts/${post.id}`" class="post-link" v-if="post.root_id === post.id">
<Post :id="post.id" :content="post.converted_message" :date="new Date(post.created_at)"
:name="post.user_name" :reactions="convertReactions(post.reactions, post.my_reactions)" />
<Post
:id="post.id"
:content="post.converted_message"
:date="new Date(post.created_at)"
:name="post.user_name"
:reactions="convertReactions(post.reactions, post.my_reactions)"
/>
</router-link>
</div>
</div>
Expand Down

0 comments on commit e5ce0ce

Please sign in to comment.