don't complain in the CI so much, and go ahead and set dependencies in effect() if it doesn't hurt to do so.

This commit is contained in:
Dan 2023-04-19 20:01:34 -04:00
parent 5956326450
commit dedd72acf4
2 changed files with 7 additions and 2 deletions

View File

@ -21,6 +21,12 @@ module.exports = {
importSource: '@bpmn-io/properties-panel/preact',
runtime: 'automatic',
},
'@babel/plugin-proposal-class-properties',
{ loose: true },
'@babel/plugin-proposal-private-methods',
{ loose: true },
'@babel/plugin-proposal-private-property-in-object',
{ loose: true },
],
},
},

View File

@ -53,8 +53,7 @@ export default function ProcessInterstitial() {
return () => clearInterval(timerId);
}
return undefined;
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [lastTask]);
}, [lastTask, navigate, userTasks]);
const processStatusImage = () => {
if (status !== 'running') {