mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-20 22:35:06 +00:00
Update emailSelection export and usage to Evan-recommended "module style" syntax
This commit is contained in:
@@ -35,13 +35,10 @@
|
||||
|
||||
export default {
|
||||
async setup(){
|
||||
let openedEmail = null;
|
||||
let { emailSelection } = useEmailSelection();
|
||||
|
||||
return {
|
||||
format,
|
||||
openedEmail,
|
||||
emailSelection
|
||||
openedEmail: null,
|
||||
emailSelection: useEmailSelection()
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user