Skip to content

Commit

Permalink
add new user
Browse files Browse the repository at this point in the history
  • Loading branch information
mehotkhan committed Aug 1, 2023
1 parent 0669e93 commit 3ace0cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts" setup>
// const { registerNew, profile, getUserDetails } = useUser();
// onMounted(() => {
// registerNew();
// getUserDetails(profile.value.pub);
// });
const { registerNew } = useUser();
onMounted(() => {
registerNew();
// getUserDetails(profile.value.pub);
});
</script>
<template>
<Html dir="rtl">
Expand Down
2 changes: 1 addition & 1 deletion composables/useUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default () => {
priv,
};
profile.value = newProfile;
uploadUserDetails(newProfile);
// uploadUserDetails(newProfile);
loggedIn.value = true;
}
};
Expand Down

0 comments on commit 3ace0cb

Please sign in to comment.