9 lines
230 B
TypeScript
9 lines
230 B
TypeScript
import { onMounted } from "vue";
|
|
|
|
import { useTasksStore } from "@/stores/tasks";
|
|
|
|
/** Fetches the board when the page opens; the shell keeps it live. */
|
|
export function useDashboard(): void {
|
|
onMounted(useTasksStore().load);
|
|
}
|