Repository navigation
Commit 529b640
fix: add missing Palette import and CI undefined-reference check (#11)
- ToolCard.tsx: Add missing Palette import from lucide-react.
This caused 'ReferenceError: Palette is not defined' at runtime,
crashing the /decks/ page.
- ChatMessage.tsx: Fix JSX.Element -> React.JSX.Element for React 19
type compatibility (TS2503: Cannot find namespace 'JSX').
- ci.yml: Add 'Cannot find name' check to web-ui CI job.
next.config.ts has ignoreBuildErrors:true which skips all type
checking during build, and ESLint does not catch undefined
references in TypeScript. This new step catches the most critical
class of type errors that cause runtime crashes.
Co-authored-by: Shintaro Okamoto <shintaok@amazon.com>1 parent 8cd5f19 commit 529b640
3 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
42 | 53 | | |
43 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments