removed console.log
This commit is contained in:
@@ -13,10 +13,8 @@ export default function Page() {
|
||||
|
||||
const verifyCode = useCallback(
|
||||
async (code: string) => {
|
||||
console.log("Verifying code:", code);
|
||||
if (!code) return;
|
||||
const res = await checkEmailCode(code);
|
||||
console.log("Verification response:", res);
|
||||
if (res.error) {
|
||||
console.log("Verification error:", res.error);
|
||||
toast.error(res.error);
|
||||
@@ -34,12 +32,12 @@ export default function Page() {
|
||||
}, [paramsCode, verifyCode]);
|
||||
|
||||
return (
|
||||
<div className="card bg-base-200 shadow-xl mb-4 ">
|
||||
<div className="card bg-base-200 mb-4 shadow-xl">
|
||||
<div className="card-body">
|
||||
<p className="text-2xl font-semibold text-left flex items-center gap-2">
|
||||
<Check className="w-5 h-5" /> E-Mail Bestätigung
|
||||
<p className="flex items-center gap-2 text-left text-2xl font-semibold">
|
||||
<Check className="h-5 w-5" /> E-Mail Bestätigung
|
||||
</p>
|
||||
<div className="flex justify-center gap-3 w-full">
|
||||
<div className="flex w-full justify-center gap-3">
|
||||
<input
|
||||
className="input flex-1"
|
||||
placeholder="Bestätigungscode"
|
||||
|
||||
Reference in New Issue
Block a user