Skip to content

Commit 05120ce

Browse files
feat: disabled confirm email upon registeration
1 parent ba62c8c commit 05120ce

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

apps/web/src/components/Auth/Register/Form.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ const RegisterForm: React.FC<{ role?: Role }> = ({ role }) => {
4545
const onSuccess = useCallback(
4646
async ({ user: info, token }: IUser.RegisterApiResponse) => {
4747
user.set({ user: info, token });
48-
verifyEmailDialog.show();
48+
navigate(Web.CompleteProfile);
49+
// verifyEmailDialog.show();
4950
},
50-
[user, verifyEmailDialog]
51+
[user, navigate]
5152
);
5253

5354
const onError = useOnError({

packages/ui/src/locales/ar-eg.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,6 @@
850850
"upcoming-lessons.loading-error": "عذرًا، حدث خطأ أثناء تحميل جدول الحصص، برجاء المحاولة مرة أخرى",
851851
"upcoming-lessons.loading": "برجاء الانتظار... جاري تحميل الدروس الجارية!",
852852
"lesson.title": "الدروس الجارية",
853-
"student-dashboard.empty-state.desc": "ابدأ رحلتك واختر معلمك لحصتك القادمة",
854853
"student-dashboard.empty-state.btn": "تصفح المعلمين",
855854
"student-dashboard.upcoming-lessons.title": "الحصص القادمة",
856855
"student-dashboard.table.date": "التاريخ",
@@ -932,7 +931,6 @@
932931
"book-lesson.title-2": "بعد جلستك الأولى ستكون تعرفت علي معلمك مع تحديد مستواك ووضع خطة واضحة للوصول لهدفك. ",
933932
"book-lesson.title": "إحجز جلسة مع {tutor}",
934933
"book-lesson.depleted-subscription": "دقائقك لا تكفي لحجز جلسة لهذا الأسبوع",
935-
"book-lesson.title.placeholder": "إحجز جلسة",
936934
"book-lesson.confirm": "تاكيد الموعد",
937935
"book-lesson.remind-me": "ذكرني عند توفر المواعيد",
938936
"book-lesson.edit": "تعديل الموعد",

0 commit comments

Comments
 (0)