extractify.zip/composables/states.ts
Ask

2 lines
110 B
TypeScript

{30248c1bd1e1310cc90bb2a46018ffa0ba615fa2 true 110 states.ts 0xc002b161c0}

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