Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Loukass23 committed Jul 13, 2023
1 parent 6075296 commit 0f492ad
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 59 deletions.
2 changes: 1 addition & 1 deletion apps/codac-community/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/apollo-upload-client": "^17.0.2",
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^18.11.17",
"@types/react": "^18.0.26",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.0.9",
"autoprefixer": "^10.4.13",
"codac-graphql-types": "workspace:*",
Expand Down
7 changes: 3 additions & 4 deletions apps/codac-community/src/components/community/StudentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ import { SkeletonCards } from "codac-ui";

import { useGetStudentsByCohorts } from "#/graphql/hooks";

import { StudentCard } from "./studentCard";
import { StudentCard } from "./StudentCard";

function StudentList({ cohortName }: { cohortName: string }) {
const { students, loading } = useGetStudentsByCohorts(cohortName);
console.log("we wanna see this one, i love console.log ",students);
console.log("we wanna see this one, i love console.log ", students);

return (
<>

<div className="flex justify-center">
{loading && <SkeletonCards number={3} isLoading={loading} />}
<div className="flex grid-cols-5 flex-wrap justify-center">
Expand Down
16 changes: 4 additions & 12 deletions apps/codac-community/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,16 @@
"extends": "tsconfig/next.json",
"compilerOptions": {
"baseUrl": ".",
"jsx": "preserve",
"paths": {
"#/*": [
"./src/*"
]
"#/*": ["./src/*"]
},
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"incremental": true,
"noEmit": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
3 changes: 2 additions & 1 deletion apps/codac-lms/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"name": "next"
}
],
"incremental": true
"incremental": true,
"noEmit": true
},
"include": [
"next-env.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/codac-sassy/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/codac-ui/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

163 changes: 124 additions & 39 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f492ad

Please sign in to comment.