We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c1353b commit 0dd68dfCopy full SHA for 0dd68df
apps/admin/app/studies/[studyId]/layout.tsx
@@ -1,11 +1,11 @@
1
-import { studyInfoApi } from "apis/study/studyInfoApi";
+import { studyApi } from "apis/study/studyApi";
2
3
export const generateMetadata = async ({
4
params: { studyId },
5
}: {
6
params: { studyId: string };
7
}) => {
8
- const study = await studyInfoApi.getStudyBasicInfo(+studyId);
+ const study = await studyApi.getStudyBasicInfo(+studyId);
9
return {
10
title: study ? study.title : "스터디",
11
};
0 commit comments