Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into react-18
Browse files Browse the repository at this point in the history
  • Loading branch information
mman committed Sep 19, 2024
2 parents a48a8e1 + 8a9e5b6 commit d1344a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@testing-library/user-event": "^14.5.2",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@victronenergy/mfd-modules": "^7.0.1",
"@victronenergy/mfd-modules": "^7.0.2",
"axios": "^0.28.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const MqttUnavailable = ({ host }: Props) => {

useEffect(() => {
if (!error) {
clearTimeout((connectTimeout.current as NodeJS.Timeout) || undefined)
setIsConnecting(false)
appViewsStore.setView(AppViews.ROOT)
}
Expand All @@ -40,6 +39,7 @@ const MqttUnavailable = ({ host }: Props) => {
setIsConnecting(false)
}, 6 * 1000)
// eslint-disable-next-line react-hooks/exhaustive-deps
return () => clearTimeout((connectTimeout.current as NodeJS.Timeout) || undefined)
}, [])

if (isConnecting) {
Expand Down

0 comments on commit d1344a8

Please sign in to comment.