We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71bea0a commit 53f1b98Copy full SHA for 53f1b98
apps/client/src/features/session/session.util.ts
@@ -80,7 +80,7 @@ export async function loadSessionData(options: LoadSessionOptions) {
80
// 질문 목록에 questionId가 없으면 리다이렉트
81
const found = response.questions.some((q) => q.questionId === Number(questionId));
82
if (!found) {
83
- throw redirect({ to: `/session/${sessionId}` });
+ throw redirect({ to: `/session/$sessionId`, params: { sessionId } });
84
}
85
86
// fromDetailBehavior 옵션이 true면, 세부 로직 추가
0 commit comments