From 10ef00f753575789d2b03112437ec8b4bbfec2b6 Mon Sep 17 00:00:00 2001 From: Will Baumbach Date: Fri, 8 Aug 2025 00:53:50 -0500 Subject: [PATCH] nvm i figured it out i just need to add a custom back button to the details page now i guess lol --- app/(tabs)/posts/_layout.tsx | 5 +---- app/components/CompactPostComponent.tsx | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/(tabs)/posts/_layout.tsx b/app/(tabs)/posts/_layout.tsx index 0288c4f..3381c01 100644 --- a/app/(tabs)/posts/_layout.tsx +++ b/app/(tabs)/posts/_layout.tsx @@ -2,9 +2,6 @@ import { Stack } from "expo-router"; export default function PostsLayout() { return ( - - - - + ) } \ No newline at end of file diff --git a/app/components/CompactPostComponent.tsx b/app/components/CompactPostComponent.tsx index 9c8d34e..6e50aa4 100644 --- a/app/components/CompactPostComponent.tsx +++ b/app/components/CompactPostComponent.tsx @@ -9,7 +9,7 @@ export const CompactPostComponent: React.FC = (post) => { return ( { router.push({ - pathname: '/posts/details', + pathname: '/posts/details', params: { id: post._id, }