feat: Fetch countries and corresponding village to filter stats #3965
Annotations
5 errors and 2 warnings
Run typescript:
src/components/admin/dashboard-statistics/ClassroomStats.tsx#L51
Type 'string[]' is not assignable to type 'Country[]'.
|
Run typescript:
src/components/admin/dashboard-statistics/ClassroomStats.tsx#L54
Type 'string[]' is not assignable to type '{ name: string; id: number; }[]'.
|
Run typescript:
src/components/admin/dashboard-statistics/ClassroomStats.tsx#L54
Type '(village: string) => void' is not assignable to type '(vm: { name: string; id: number; }) => void'.
|
Run typescript:
src/components/admin/dashboard-statistics/CountryStats.tsx#L73
Type 'string[]' is not assignable to type 'Country[]'.
|
Run typescript
Process completed with exit code 2.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading