fixed bug with sign-in

This commit is contained in:
Alibek committed 2024-03-13 16:48:13 +06:00
1 parent 7bc3e2ccb5
commit 7d36510a9b
6 files changed
+22 -14

No files matched your search

+11 -3
View File
@@ -1,5 +1,13 @@
const page = () => {
return <div>page</div>;
"use client";
import { useRouter } from "@/shared/config/navigation";
import { useEffect } from "react";
const Profile = () => {
const router = useRouter();
useEffect(() => {
router.push("/profile/personal");
}, []);
return <></>;
};
export default page;
export default Profile;