fix
This commit is contained in:
@@ -14,7 +14,6 @@ import Link from "next/link";
|
||||
import { Sex } from "@/types";
|
||||
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
|
||||
import { ArrowLeft, ArrowRight, Check } from "lucide-react";
|
||||
import { toast } from "sonner";
|
||||
|
||||
interface FormData {
|
||||
email: string;
|
||||
@@ -41,7 +40,6 @@ export default function RegisterPage() {
|
||||
return;
|
||||
}
|
||||
|
||||
toast(t("registeredSuccessfully"), { icon: <Check size={16} /> })
|
||||
router.push(`/login`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user