Unverified Commit 04c4aaba authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

Revert "Fix: RESTORE_ACTION should not be thenable" (#77909)

Reverts vercel/next.js#77582
parent 8370d498
......@@ -207,7 +207,7 @@ export function createMutableActionQueue(
state: initialState,
dispatch: (payload: ReducerActions, setState: DispatchStatePromise) =>
dispatchAction(actionQueue, payload, setState),
action: (state: AppRouterState, action: ReducerActions) => {
action: async (state: AppRouterState, action: ReducerActions) => {
const result = reducer(state, action)
return result
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment