diff --git a/spiffworkflow-frontend/craco.config.js b/spiffworkflow-frontend/craco.config.js index 9d12ee47..51c3e143 100644 --- a/spiffworkflow-frontend/craco.config.js +++ b/spiffworkflow-frontend/craco.config.js @@ -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 }, ], }, }, diff --git a/spiffworkflow-frontend/src/routes/ProcessInterstitial.tsx b/spiffworkflow-frontend/src/routes/ProcessInterstitial.tsx index 85d1f54e..0e6b3c63 100644 --- a/spiffworkflow-frontend/src/routes/ProcessInterstitial.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessInterstitial.tsx @@ -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') {