Skip to content

Commit afed7bc

Browse files
HH
1 parent 990620e commit afed7bc

6 files changed

Lines changed: 40 additions & 57 deletions

File tree

components.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"cssVariables": true,
1111
"prefix": ""
1212
},
13-
"iconLibrary": "hugeicons",
13+
"iconLibrary": "lucide-react",
1414
"rtl": false,
1515
"aliases": {
1616
"components": "@/components",
@@ -21,5 +21,5 @@
2121
},
2222
"menuColor": "default",
2323
"menuAccent": "subtle",
24-
"registries": {}
24+
"registries": { }
2525
}

next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const path = require("path");
2+
23
/** @type {import('next').NextConfig} */
34
const nextConfig = {
45
reactStrictMode: true,
@@ -7,7 +8,6 @@ const nextConfig = {
78
root: path.join(__dirname),
89
},
910

10-
1111
async headers() {
1212
return [
1313
{
@@ -43,4 +43,4 @@ const nextConfig = {
4343
},
4444
};
4545

46-
module.exports = nextConfig;
46+
module.exports = nextConfig;

package-lock.json

Lines changed: 13 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/yugioh/my-collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Head from "next/head";
33
import dynamic from "next/dynamic";
44
import { useRouter } from "next/router";
5-
import { Check, Filter, FolderOpen, FolderPlus, Grid, List, Loader2, Pencil, Plus, Search, Trash2, X } from "lucide-react";
5+
import { Check, Filter, FolderOpen, FolderPlus, Grid, List, Loader2, Pencil, Plus, Search, Trash2, TrendingUp, X } from "lucide-react";
66
import Notification from '@/components/Notification';
77
import { useAppShellSlots } from "@/components/Layout";
88
import DownloadYugiohCSVButton from "@/components/Yugioh/Buttons/DownloadYugiohCSVButton";

tsconfig.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"./*"
1212
]
1313
},
14-
"allowJs": true,
14+
"allowJs": false,
1515
"skipLibCheck": true,
1616
"strict": true,
1717
"noEmit": true,
@@ -26,11 +26,13 @@
2626
},
2727
"include": [
2828
"next-env.d.ts",
29+
".next/types/**/*.ts",
30+
".next/dev/types/**/*.ts",
2931
"**/*.ts",
30-
"**/*.tsx",
31-
"**/*.js"
32+
"**/*.tsx"
3233
],
3334
"exclude": [
34-
"node_modules"
35+
"node_modules",
36+
".next/cache"
3537
]
36-
}
38+
}

types/component-shims.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
declare module "@/components/Sports/Buttons/SportsCSVButton" {
2+
const SportsCSVButton: import("react").FC<{
3+
sportsData: import("@/types/Card").SportsData;
4+
}>;
5+
export default SportsCSVButton;
6+
}
7+
8+
declare module "@/components/Sports/SportsPagination" {
9+
const SportsPagination: import("react").FC<{
10+
currentPage: number;
11+
totalPages: number;
12+
onPageChange: (page: number) => void;
13+
}>;
14+
export default SportsPagination;
15+
}

0 commit comments

Comments
 (0)