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 2727 "babel-plugin-react-compiler" : " ^19.1.0-rc.2" ,
2828 "class-variance-authority" : " ^0.7.1" ,
2929 "clsx" : " ^2.1.1" ,
30- "convex" : " ^1.25.4 " ,
30+ "convex" : " ^1.27.3 " ,
3131 "convex-helpers" : " ^0.1.104" ,
3232 "culori" : " ^4.0.2" ,
3333 "date-fns" : " ^4.1.0" ,
Original file line number Diff line number Diff line change @@ -23,10 +23,14 @@ export default function StatsSection({
2323 lastUpdated : string | null ;
2424 } ;
2525} ) {
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 , {
2730 name : "AmanVarshney01/create-better-t-stack" ,
2831 } ) ;
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 , {
3034 names : [ "create-better-t-stack" ] ,
3135 } ) ;
3236
@@ -188,7 +192,7 @@ export default function StatsSection({
188192 < span className = "font-mono text-foreground text-sm" >
189193 { npmPackages ?. dayOfWeekAverages
190194 ? Math . round (
191- npmPackages . dayOfWeekAverages . reduce ( ( a , b ) => a + b , 0 ) /
195+ npmPackages . dayOfWeekAverages . reduce ( ( a : number , b : number ) => a + b , 0 ) /
192196 7 ,
193197 )
194198 : "—" }
Original file line number Diff line number Diff line change 6666 "babel-plugin-react-compiler": "^19.1.0-rc.2",
6767 "class-variance-authority": "^0.7.1",
6868 "clsx": "^2.1.1",
69- "convex": "^1.25.4 ",
69+ "convex": "^1.27.3 ",
7070 "convex-helpers": "^0.1.104",
7171 "culori": "^4.0.2",
7272 "date-fns": "^4.1.0",
116116 "version": "1.0.0",
117117 "dependencies": {
118118 "@erquhart/convex-oss-stats": "^0.8.1",
119- "convex": "^1.25.4 ",
119+ "convex": "^1.27.3 ",
120120 "convex-helpers": "^0.1.104",
121121 },
122122 "devDependencies": {
Original file line number Diff line number Diff line change 1515 },
1616 "dependencies" : {
1717 "@erquhart/convex-oss-stats" : " ^0.8.1" ,
18- "convex" : " ^1.25.4 " ,
18+ "convex" : " ^1.27.3 " ,
1919 "convex-helpers" : " ^0.1.104"
2020 }
2121}
You can’t perform that action at this time.
0 commit comments