Skip to content

Commit

Permalink
fix: type errors in FAQ.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert committed Nov 18, 2023
1 parent bc347e6 commit 75c9215
Show file tree
Hide file tree
Showing 3 changed files with 511 additions and 1,272 deletions.
1 change: 0 additions & 1 deletion apps/site/src/app/(home)/sections/FAQ/getQuestions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { z } from "zod";
import { cache } from "react";
// import { client } from "@/lib/sanity/client";
import { client } from "@/lib/sanity/client";
import { SanityDocument } from "@/lib/sanity/types";

Expand Down
3 changes: 1 addition & 2 deletions apps/site/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
}
],
"paths": {
"@/*": ["./src/*"],
"react": ["./node_modules/@types/react"]
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
Expand Down
Loading

0 comments on commit 75c9215

Please sign in to comment.