UNPKG
@wenn/onb
Version:
latest (1.0.0)
1.0.0
onb-core
@wenn/onb
/
redux
/
actions
/
fakeCamunda.actions.js
10 lines
(8 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ nextPage }
from
'./loading.actions'
;
import
{ saveFlowError }
from
'./run.actions'
;
export
function
saveFakeCamunda
(
) {
return
dispatch
=>
{
dispatch
(
nextPage
());
setTimeout
(
() =>
dispatch
(
saveFlowError
(
false
)),
1000
); }; }