diff --git a/src/main.tsx b/src/main.tsx
index 3758550..aff3b6c 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -12,7 +12,8 @@ import { routeTree } from './routeTree.gen'
library.add(fas)
// Create router
-const router = createRouter({
+// Must be `any` because TS complains otherwise
+const router: any = createRouter({
context: {
auth: undefined!
},
@@ -32,11 +33,7 @@ const InnerApp = () => {
(
-
- {children}
-
- )}
+ InnerWrap={({ children }) => {children}}
>
)
}
diff --git a/src/stories/recipe-card/RecipeCard.stories.ts b/src/stories/recipe-card/RecipeCard.stories.ts
index 308879e..08fb6dd 100644
--- a/src/stories/recipe-card/RecipeCard.stories.ts
+++ b/src/stories/recipe-card/RecipeCard.stories.ts
@@ -12,6 +12,7 @@ type Story = StoryObj
export const Primary: Story = {
args: {
+ slug: 'my-recipe',
title: 'My Recipe',
ownerUsername: 'JesseBrault',
starCount: 7,
diff --git a/tsconfig.json b/tsconfig.json
index a7fc6fb..663f5ce 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,25 +1,25 @@
{
- "compilerOptions": {
- "target": "ES2020",
- "useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
- "module": "ESNext",
- "skipLibCheck": true,
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "skipLibCheck": true,
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
- "jsx": "react-jsx",
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx",
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true
- },
- "include": ["src"],
- "references": [{ "path": "./tsconfig.node.json" }]
+ /* Linting */
+ "strict": true,
+ // "noUnusedLocals": true,
+ // "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src"],
+ "references": [{ "path": "./tsconfig.node.json" }]
}