Skip to content

Commit 5880d4f

Browse files
committed
fix: Push a new screen on current navigation tree
1 parent fbe9bf2 commit 5880d4f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/twenty-plants-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"xlog": patch
3+
---
4+
5+
Push a new screen on current navigation tree.

src/components/FeedList/FeedListItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const FeedListItem: FC<Props> = (props) => {
5454
}, [coverImageSize.height]);
5555

5656
const onPress = React.useCallback(() => {
57-
navigation.navigate(
57+
navigation.push(
5858
"PostDetails",
5959
{
6060
characterId: note.characterId,

0 commit comments

Comments
 (0)