Skip to content

Commit 8151ea6

Browse files
authored
Update stack-navigator.md
1 parent f25fef1 commit 8151ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-6.x/stack-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Replaces the current screen with a new screen in the stack. The method accepts f
459459
- `params` - _object_ - Screen params to pass to the destination route.
460460

461461
```js
462-
navigation.push('Profile', { owner: 'Michaś' });
462+
navigation.replace('Profile', { owner: 'Michaś' });
463463
```
464464

465465
#### `push`

0 commit comments

Comments
 (0)