mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-08 12:27:44 +00:00
chore: lint
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { forgetPassword } from "~/lib/auth-client.js"
|
||||
import { forgetPassword } from "~/lib/auth-client.js";
|
||||
|
||||
const email = ref("")
|
||||
const email = ref("");
|
||||
|
||||
const handleForgetPassword = async () => {
|
||||
if (!email.value) {
|
||||
@@ -22,9 +22,9 @@ const handleForgetPassword = async () => {
|
||||
onError(context) {
|
||||
alert(context.error.message);
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@ const handleResetPassword = async () => {
|
||||
alert(context.error.message);
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -27,9 +27,7 @@ const handleSignIn = async() => {
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts" setup>
|
||||
import { signUp } from "~/lib/auth-client.js"
|
||||
import { signUp } from "~/lib/auth-client.js";
|
||||
|
||||
const firstName = ref("")
|
||||
const lastName = ref("")
|
||||
const email = ref("")
|
||||
const password = ref("")
|
||||
const firstName = ref("");
|
||||
const lastName = ref("");
|
||||
const email = ref("");
|
||||
const password = ref("");
|
||||
|
||||
const handleSignUp = async () => {
|
||||
const user = {
|
||||
@@ -21,10 +21,10 @@ const handleSignUp = async () => {
|
||||
fetchOptions: {
|
||||
onError(context) {
|
||||
alert(context.error.message);
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user