File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
src/app/(home)/_components Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 27
27
"babel-plugin-react-compiler" : " ^19.1.0-rc.2" ,
28
28
"class-variance-authority" : " ^0.7.1" ,
29
29
"clsx" : " ^2.1.1" ,
30
- "convex" : " ^1.25.4 " ,
30
+ "convex" : " ^1.27.3 " ,
31
31
"convex-helpers" : " ^0.1.104" ,
32
32
"culori" : " ^4.0.2" ,
33
33
"date-fns" : " ^4.1.0" ,
Original file line number Diff line number Diff line change @@ -23,10 +23,14 @@ export default function StatsSection({
23
23
lastUpdated : string | null ;
24
24
} ;
25
25
} ) {
26
- const githubRepo = useQuery ( api . stats . getGithubRepo , {
26
+
27
+ // no idea why there are no types
28
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
+ const githubRepo = useQuery ( ( api as any ) . stats . getGithubRepo , {
27
30
name : "AmanVarshney01/create-better-t-stack" ,
28
31
} ) ;
29
- const npmPackages = useQuery ( api . stats . getNpmPackages , {
32
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
33
+ const npmPackages = useQuery ( ( api as any ) . stats . getNpmPackages , {
30
34
names : [ "create-better-t-stack" ] ,
31
35
} ) ;
32
36
@@ -188,7 +192,7 @@ export default function StatsSection({
188
192
< span className = "font-mono text-foreground text-sm" >
189
193
{ npmPackages ?. dayOfWeekAverages
190
194
? Math . round (
191
- npmPackages . dayOfWeekAverages . reduce ( ( a , b ) => a + b , 0 ) /
195
+ npmPackages . dayOfWeekAverages . reduce ( ( a : number , b : number ) => a + b , 0 ) /
192
196
7 ,
193
197
)
194
198
: "—" }
Original file line number Diff line number Diff line change 66
66
"babel-plugin-react-compiler": "^19.1.0-rc.2",
67
67
"class-variance-authority": "^0.7.1",
68
68
"clsx": "^2.1.1",
69
- "convex": "^1.25.4 ",
69
+ "convex": "^1.27.3 ",
70
70
"convex-helpers": "^0.1.104",
71
71
"culori": "^4.0.2",
72
72
"date-fns": "^4.1.0",
116
116
"version": "1.0.0",
117
117
"dependencies": {
118
118
"@erquhart/convex-oss-stats": "^0.8.1",
119
- "convex": "^1.25.4 ",
119
+ "convex": "^1.27.3 ",
120
120
"convex-helpers": "^0.1.104",
121
121
},
122
122
"devDependencies": {
Original file line number Diff line number Diff line change 15
15
},
16
16
"dependencies" : {
17
17
"@erquhart/convex-oss-stats" : " ^0.8.1" ,
18
- "convex" : " ^1.25.4 " ,
18
+ "convex" : " ^1.27.3 " ,
19
19
"convex-helpers" : " ^0.1.104"
20
20
}
21
21
}
You can’t perform that action at this time.
0 commit comments