extractify.zip/composables/states.ts

2 lines
110 B
TypeScript
Raw Permalink Normal View History

let selectedPath = ref("/")
export const useSelectedPath = () => useState("selected-path", () => selectedPath)