Commit 37e3d43
Fix Redux template to use CSS modules consistently
- Added CSS module import to Redux HelloWorld component
- Changed from className="bright" to className={style.bright}
- Updated React import to modern approach for consistency
- Now matches the styling approach used in base template
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent dd9e6f8 commit 37e3d43
File tree
1 file changed
+3
-2
lines changed- lib/generators/react_on_rails/templates/redux/base/app/javascript/bundles/HelloWorld/components
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments