extractify.zip/composables/states.ts
Ask

2 lines
110 B
TypeScript

{30248c1bd1e1310cc90bb2a46018ffa0ba615fa2 true 110 states.ts 0xc001f11570}

let selectedItem = ref("/")
export const useSelectedItem = () => useState("selected-item", () => selectedItem)