prettier fix
This commit is contained in:
@@ -31,7 +31,8 @@ export function useSignInWithEmailPassword() {
|
||||
isDevPasswordLogin: true,
|
||||
});
|
||||
await client
|
||||
.schema('medreport').from('accounts')
|
||||
.schema('medreport')
|
||||
.from('accounts')
|
||||
.update({ medusa_account_id: medusaAccountId })
|
||||
.eq('primary_owner_user_id', user.id)
|
||||
.eq('is_personal_account', true);
|
||||
|
||||
@@ -9,7 +9,9 @@ export function useSignOut() {
|
||||
mutationFn: async () => {
|
||||
try {
|
||||
try {
|
||||
const { medusaLogout } = await import('../../../features/medusa-storefront/src/lib/data/customer');
|
||||
const { medusaLogout } = await import(
|
||||
'../../../features/medusa-storefront/src/lib/data/customer'
|
||||
);
|
||||
await medusaLogout(undefined, false);
|
||||
} catch (medusaError) {
|
||||
console.warn('Medusa logout failed or not available:', medusaError);
|
||||
|
||||
@@ -46,7 +46,8 @@ export function useSignUpWithEmailAndPassword() {
|
||||
isDevPasswordLogin: true,
|
||||
});
|
||||
await client
|
||||
.schema('medreport').from('accounts')
|
||||
.schema('medreport')
|
||||
.from('accounts')
|
||||
.update({ medusa_account_id: medusaAccountId })
|
||||
.eq('primary_owner_user_id', user!.id)
|
||||
.eq('is_personal_account', true);
|
||||
|
||||
Reference in New Issue
Block a user