Commit 5030db3
refactor(explore): simplify React keys in ViewQueryModal to match codebase patterns
Changed from content-based keys (item.query || item.error) to index-based
keys for the Fragment elements in ViewQueryModal. This aligns with
established Superset patterns (e.g., MarshmallowErrorMessage.tsx) for
displaying static API response data. Both approaches are technically
correct for static data, but index-based is simpler and more consistent.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7620bc8 commit 5030db3
1 file changed
Lines changed: 5 additions & 8 deletions
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
| |||
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 105 | + | |
| 106 | + | |
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
| |||
0 commit comments