@wandelbots/wandelbots-js-react-components 2.40.0-pr.feature-seperate-timer.383.c9c6f2b → 2.40.0-pr.feature-seperate-timer.383.0494cf4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12191,14 +12191,14 @@ const sP = ({
12191
12191
  },
12192
12192
  [e, t, p]
12193
12193
  ), S = ge(() => {
12194
- l.currentState === "measuring" && (c((P) => ({
12194
+ c((P) => ({
12195
12195
  ...P,
12196
12196
  isRunning: !1,
12197
12197
  currentState: "measured"
12198
12198
  })), d.current = null, i(() => {
12199
12199
  r && r();
12200
- }));
12201
- }, [l.currentState, i, r]), R = ge(() => {
12200
+ });
12201
+ }, [i, r]), R = ge(() => {
12202
12202
  if (d.current && l.isRunning) {
12203
12203
  const O = Date.now() - d.current;
12204
12204
  h.current += O;