Skip to content

Commit a6556d7

Browse files
committed
Update import and use of chat in App.vue
1 parent 03bf39f commit a6556d7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

vue/vue-getting-started/src/App.vue

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
<script setup>
2-
import Inbox from "./components/Inbox.vue";
3-
4-
const me = {
5-
id: "sample_user_alice",
6-
name: "Alice",
7-
8-
photoUrl: "https://talkjs.com/new-web/avatar-7.jpg",
9-
welcomeMessage: "Hi!",
10-
};
2+
import Chat from "./components/Chat.vue";
113
</script>
124

135
<template>
146
<main>
15-
<Inbox :currentUser="me" />
7+
<Chat />
168
</main>
179
</template>

0 commit comments

Comments
 (0)