nvm i figured it out i just need to add a custom back button to the details page now i guess lol
This commit is contained in:
@@ -9,7 +9,7 @@ export const CompactPostComponent: React.FC<Post> = (post) => {
|
||||
return (
|
||||
<TouchableOpacity key={post._id} style={styles.posts} onPress={()=>{
|
||||
router.push({
|
||||
pathname: '/posts/details',
|
||||
pathname: '/posts/details',
|
||||
params: {
|
||||
id: post._id,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user