mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-22 07:05:20 +00:00
Update emailSelection export and usage to Evan-recommended "module style" syntax
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
export default {
|
||||
setup({emails}){
|
||||
let { emailSelection } = useEmailSelection();
|
||||
let emailSelection = useEmailSelection();
|
||||
|
||||
let numberSelected = computed(() => {
|
||||
return emailSelection.emails.size;
|
||||
|
||||
Reference in New Issue
Block a user