Skip to content

Commit

Permalink
fix: cannot open user friends page
Browse files Browse the repository at this point in the history
  • Loading branch information
MeewMeew committed Oct 19, 2023
1 parent 24e6478 commit e8c3b0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Common/CreatePostOverlay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ watch(text, (newValue) => {
>
<i
@click="clearImage()"
class="pi pi-times absolute bg-white p-2 m-2 right-2 rounded-full border cursor-pointer text-[#5E6771] text-lg"
class="pi pi-times absolute bg-white pl-2 pt-1 m-2 right-2 rounded-full border cursor-pointer text-[#5E6771] text-lg w-9 h-9"
/>
<img v-if="imageView" class="rounded-lg mx-auto" :src="imageView" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/Auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ async function submit() {
<div
class="text-left flex flex-col lg:-mt-10 mb-10 items-center justify-center lg:items-start"
>
<h1 class="text-mb-blue text-7xl font-bold px-6 py-3">mewbook</h1>
<h1 class="text-mb-blue text-7xl font-bold px-6 py-3">facebook</h1>
<h2 class="lg:text-2xl font-normal px-6 text-center text-md lg:text-left w-4/5 lg:w-full">
Mewbook giúp bạn kết nối và chia sẻ với mọi người trong cuộc sống của bạn.
Facebook giúp bạn kết nối và chia sẻ với mọi người trong cuộc sống của bạn.
</h2>
</div>
<div class="w-full md:w-3/5 text-center mx-auto">
Expand Down
4 changes: 2 additions & 2 deletions src/views/User/User.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ onMounted(async () => {
class="flex-cols md:flex w-full max-w-xl justify-between h-[calc(100%-56px)] md:px-0 px-2 mx-auto"
v-if="user"
>
<!-- <router-view :key="($route.params.id as string)" v-if="$route.name !== 'user'" /> -->
<UserProfile :user="user" />
<router-view :key="($route.params.id as string)" v-if="$route.name !== 'user'" />
<UserProfile :user="user" v-else />
</div>
</div>
</template>

0 comments on commit e8c3b0c

Please sign in to comment.