rename composable files to composable notation

This commit is contained in:
riqo 2021-06-15 08:48:14 -05:00
commit 0a3c9f71d8
18 changed files with 217 additions and 202 deletions

View file

@ -0,0 +1,21 @@
import { ref } from "vue";
const profile = ref();
export const useProfile = () => {
const setProfile = (payload: Profile) => {
profile.value = payload;
}
const clearProfile = () => {
profile.value = null;
}
return {
setProfile,
clearProfile,
profile
}
}