Skip to content

Commit 8b89e6a

Browse files
committed
fix build
1 parent e207989 commit 8b89e6a

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
import React from "react";
2-
import Subtitle from "~/app/_components/subtitle";
3-
import Title from "~/app/_components/title";
42
import WeekInfo from "~/app/_components/week/weekInfo";
53

6-
74
const WeekPage = ({ params }: { params: Promise<{ weekId: string }> }) => {
85
const { weekId } = React.use(params);
96

107
return (
11-
128
<div>
139
<WeekInfo id={parseInt(weekId)} />
1410
</div>
15-
1611
);
17-
}
12+
};
1813

19-
export default WeekPage;
14+
export default WeekPage;

src/app/_components/week/weekInfo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const WeekInfo = async ({ id }: { id: number }) => {
2323
<div className="w-1/3 rounded-xl bg-primary-light p-4">
2424
<Subtitle label="Resources" />
2525
<div className="font-main text-sm text-primary-foreground">
26-
{week.resources.map((resource, index) => (
26+
{/* {week.resources.map((resource, index) => (
2727
<div key={index} className="mb-2">
2828
<a
2929
href={resource}
@@ -34,7 +34,7 @@ const WeekInfo = async ({ id }: { id: number }) => {
3434
{resource}
3535
</a>
3636
</div>
37-
))}
37+
))} */}
3838
</div>
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)