diff --git a/code/32-finished/frontend/src/pages/EventDetail.js b/code/32-finished/frontend/src/pages/EventDetail.js index 00036f2890..41e0544372 100644 --- a/code/32-finished/frontend/src/pages/EventDetail.js +++ b/code/32-finished/frontend/src/pages/EventDetail.js @@ -90,5 +90,7 @@ export async function action({ params, request }) { } ); } + await new Promise((res) => setTimeout(res, 1000)); return redirect('/events'); } +