Commit 02e783c
Fix: Frontend build errors in ManageProjects and buttonGroup components
Fixed two build errors preventing the frontend Docker image from building:
1. Removed duplicate 'display' key in loadingStyle object (ManageProjects.jsx)
- The loadingStyle object had both "display": "none" and "display": "flex"
- Kept "display": "flex" which is correct for the loading overlay
- Introduced in commit 3a25f7f by JamesNg on 2025-01-29
2. Replaced non-existent StyledButton import with MUI Button (buttonGroup.jsx)
- Component was importing StyledButton from ProjectForm.jsx
- StyledButton export was removed in commit 8e9ac7b by Kaipher on 2025-10-06
- Component was created in commit cf194d2 by JamesNg on 2025-09-29
- Updated to use standard MUI Button component with matching styles
Build errors resolved:
- "Duplicate key 'display' in object literal"
- "StyledButton is not exported by src/components/ProjectForm.jsx"
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>1 parent 293c618 commit 02e783c
File tree
2 files changed
+7
-11
lines changed- client/src
- components/manageProjects/editPMs
- pages
2 files changed
+7
-11
lines changedLines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
0 commit comments