We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94a45e commit 441a2adCopy full SHA for 441a2ad
2 files changed
src/components/ui/header/index.const.ts
@@ -13,8 +13,8 @@ export const NOT_VISIBLE_HEADER_PAGES = [
13
14
export const HEADER_TITLE_MAP = new Map([
15
[paths.map.certification.getHref(), "목표인증"],
16
- [paths.goal.getHref(), "목표"],
17
- [paths.goal.create.getHref(), "목표추가"],
+ [paths.goal.root.getHref(), "목표"],
+ [paths.goal.create.getHref(), "목표추가"],
18
[paths.profile.reward.getHref(), "리워드 신청"],
19
[paths.auth.agreement.getHref(), "약관동의"],
20
[paths.auth.phoneNumber.getHref(), "정보입력"]
src/features/auth/components/Agreement.tsx
@@ -65,6 +65,8 @@ const Agreement = () => {
65
};
66
67
const handleSubmit = async () => {
68
+ if (!userId) return;
69
+
70
try {
71
const response = await postTermsAgree({
72
data: { userId }
0 commit comments