extractify.zip/composables/states.ts

2 lines
110 B
TypeScript
Raw Normal View History

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