Commit c7b1cec
committed
chore: Update Dashboard component with new Instance type
Explanation:
- The `chore` prefix is used because the changes made are related to maintenance and not a new feature or a bug fix.
- The Dashboard component was updated to use the new `Instance` type from `@/types/evolution.types`.
- This change was made to improve type safety and consistency in the codebase.
Note:
- The `src/pages/Dashboard/index.tsx` file was modified, but the full path is not included in the commit message to keep it concise.
- The `src/types/` directory was added, but it is not explicitly mentioned in the commit message since it is related to the `Instance` type update.
- The code snippet provided shows that the `instances.map()` function was updated to accept an `Instance` type instead of `any`, which is a good practice for type safety.1 parent 3495b1a commit c7b1cec
2 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments