Skip to content

Commit

Permalink
Merge pull request #2755 from objectcomputing/bugfix-2754/fix-hmr-mode
Browse files Browse the repository at this point in the history
Upgraded packages, and addressed the undefined process in HMR mode
  • Loading branch information
mkimberlin authored Nov 11, 2024
2 parents ca9ed5c + 6c0e53e commit 026acc1
Show file tree
Hide file tree
Showing 4 changed files with 994 additions and 983 deletions.
2 changes: 1 addition & 1 deletion web-ui/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
stable/*
4 changes: 2 additions & 2 deletions web-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
]
},
"devDependencies": {
"@ladle/react": "^4.0.3",
"@ladle/react": "^4.1.2",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^8.0.1",
Expand All @@ -92,7 +92,7 @@
"happy-dom": "^15.10.2",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^24.0.0",
"msw": "^2.2.13",
"msw": "^2.6.4",
"prettier": "3.2.5",
"prop-types": "^15.8.1",
"react-test-renderer": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion web-ui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const theme = extendTheme({
components: {
MuiButtonBase: {
defaultProps: {
disableRipple: !!process.env.VITEST_WORKER_ID, // No more ripple...only when testing.
disableRipple: typeof process !== 'undefined' && !!process.env.VITEST_WORKER_ID, // No more ripple...only when testing.
},
},
MuiCssBaseline: {
Expand Down
Loading

0 comments on commit 026acc1

Please sign in to comment.