Skip to content

Commit

Permalink
fix: wrong method name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Jul 10, 2024
1 parent 130449e commit 668aebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coalesce-vue/src/viewmodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ export abstract class ListViewModel<
const vue = getCurrentInstance()?.proxy;
if (!vue)
throw new Error(
"$useAutoLoad can only be used inside setup(). Consider using $startAutoSave if you're not using Vue composition API."
"$useAutoLoad can only be used inside setup(). Consider using $startAutoLoad if you're not using Vue composition API."
);
return this.$startAutoLoad(vue, options);
}
Expand Down

0 comments on commit 668aebb

Please sign in to comment.