Skip to content

Commit 9e31a43

Browse files
authored
Merge pull request #22 from icdocsoc/upgrade-nextjs
feat: upgrade next-js
2 parents 91dc5d9 + 7ca40f4 commit 9e31a43

File tree

4 files changed

+2124
-4765
lines changed

4 files changed

+2124
-4765
lines changed

collection/app/(app)/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { auth } from "@/auth";
22
import { getAcademicYear } from "@/lib/config";
33
import { getAcademicYearsInDB } from "@/lib/crud/academic-year";
4-
// import { getImportList } from "@/lib/crud/importCsv";
4+
import { getImportList } from "@/lib/crud/importCsv";
55
import { Stack, Title } from "@mantine/core";
66
import { redirect } from "next/navigation";
77
import React from "react";
@@ -18,7 +18,7 @@ export default async function Index() {
1818
const currentAcademicYear = await getAcademicYear();
1919
const academicYears = await getAcademicYearsInDB();
2020

21-
// const imports = await getImportList();
21+
const imports = await getImportList();
2222

2323
return (
2424
<Stack gap="lg">
@@ -27,7 +27,7 @@ export default async function Index() {
2727
currentAcademicYear={currentAcademicYear}
2828
validAcaemicYears={academicYears}
2929
/>
30-
{/* <ImportsList imports={imports} /> */}
30+
<ImportsList imports={imports} />
3131
</Stack>
3232
);
3333
}

collection/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

0 commit comments

Comments
 (0)