Skip to content

Commit de6dff8

Browse files
trilliumclaudehappy-otter
committed
Fix: Remove duplicate 'display' key in loadingStyle object
The loadingStyle object in ManageProjects.jsx had duplicate 'display' keys (line 20: "none" and line 22: "flex"), which caused a build error during Docker image creation. Removed the first "display": "none" declaration, keeping "display": "flex" which is the correct value for a loading overlay that uses flexbox for centering. This fixes the build error: [plugin vite:esbuild] src/pages/ManageProjects.jsx: Duplicate key "display" in object literal 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 befdd95 commit de6dff8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

client/src/pages/ManageProjects.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const PAGES = Object.freeze({
1717

1818
// Added styles for MUI components
1919
const loadingStyle = {
20-
"display": "none",
2120
"position": "absolute",
2221
"display": "flex",
2322
"flexDirection": "row",

0 commit comments

Comments
 (0)