Skip to content

Commit

Permalink
fix: building again
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalk0 committed Nov 28, 2023
1 parent d8429cb commit 175a10b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/items/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Category = ({ category }: { category: CategoryType }) => {
);
};

export const itemsAvailable = (categories: Array<CategoryType>) =>
const itemsAvailable = (categories: Array<CategoryType>) =>
categories.reduce((acc, curr) => {
return acc + curr.items.filter((item) => item.available).length;
}, 0);
Expand Down
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
"@/*": [
"./src/*"
]
},
"types": [
"@types/testing-library__jest-dom"
]
}
},
"include": [
"next-env.d.ts",
Expand Down

0 comments on commit 175a10b

Please sign in to comment.