Skip to content

Commit

Permalink
docs: remove a duplicated word in redirect code comment (vercel#74043)
Browse files Browse the repository at this point in the history
### What?
Typo in code comment

Co-authored-by: JJ Kasper <[email protected]>
  • Loading branch information
maciej-ka and ijjk authored Dec 17, 2024
1 parent d068202 commit 02cd484
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 02cd484

Please sign in to comment.