From 0febfa41a69236ea44897e40d4929e508d1e152e Mon Sep 17 00:00:00 2001 From: maciej-ka Date: Tue, 17 Dec 2024 21:39:20 +0100 Subject: [PATCH] docs: remove a duplicated word in redirect code comment --- .../components/router-reducer/reducers/server-action-reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts b/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts index d5353186f8307..cf0afe53dfda0 100644 --- a/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts +++ b/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts @@ -382,7 +382,7 @@ export function serverActionReducer( mutable.prefetchCache = state.prefetchCache } - // If the action triggered a redirect, the action promise promise will be rejected with + // If the action triggered a redirect, the action promise will be rejected with // a redirect so that it's handled by RedirectBoundary as we won't have a valid // action result to resolve the promise with. This will effectively reset the state of // the component that called the action as the error boundary will remount the tree.