Skip to content

Commit 226dbbd

Browse files
FuCanCodetimdorr
andauthored
docs: add tiny info to redirect (remix-run#13009)
* docs: add tiny info to redirect * Update contributors.yml * Update docs/start/framework/navigating.md --------- Co-authored-by: Tim Dorr <[email protected]>
1 parent 5a1ca08 commit 226dbbd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
- focusotter
103103
- foxscotch
104104
- frontsideair
105+
- fucancode
105106
- fyzhu
106107
- fz6m
107108
- gaspard

docs/start/framework/navigating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Forms with `<Form method="post" />` will also navigate to the action prop but wi
126126

127127
## redirect
128128

129-
Inside of route loaders and actions, you can `redirect` to another URL.
129+
Inside of route loaders and actions, you can return a `redirect` to another URL.
130130

131131
```tsx
132132
import { redirect } from "react-router";

0 commit comments

Comments
 (0)