We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f3c4c commit 44e15efCopy full SHA for 44e15ef
frontend/src/app/onboarding/step5/page.tsx
@@ -22,14 +22,16 @@ export default function Step3() {
22
const socialId = searchParam.get('social_id');
23
const router = useRouter();
24
25
+ const isDevMode = typeof window !== 'undefined' && window.location.hostname !== 'workinkorea.info';
26
+
27
const handleNextClick = async () => {
28
try {
29
await createUserInterest({
30
social_id: socialId,
31
interests: selectedOptions,
32
});
33
const data = await PublicAxiosInstance.get(
- `/auth/token?social_id=${socialId}`,
34
+ `/auth/token?social_id=${socialId}&is_dev_mode=${isDevMode}`,
35
);
36
const redirectUrl = data.data.redirect_url;
37
router.push(redirectUrl);
0 commit comments