Skip to content

Commit

Permalink
Pendant timeout class mismatch (#2606)
Browse files Browse the repository at this point in the history
Use window.setTimeout to force DOM variant of setInterval
  • Loading branch information
Erhannis authored Sep 18, 2024
1 parent c0630e5 commit 370371a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ugs-pendant/src/main/webapp/src/store/socketMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const fetchSettingsDebounce = (
clearTimeout(fetchStatusTimer);
}

fetchStatusTimer = setTimeout(() => {
fetchStatusTimer = window.setTimeout(() => {
console.log("Fetching settings");
store.dispatch(getSettings());
}, debounceTime);
Expand Down
18 changes: 18 additions & 0 deletions ugs-platform/application/nb-configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.hint.jdkPlatform>JDK_17</netbeans.hint.jdkPlatform>
</properties>
</project-shared-configuration>

0 comments on commit 370371a

Please sign in to comment.